Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    BSD::Getfsent 0.17

    Download button

    No screenshots available
    Downloads: 360  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Steven Schubiger | More programs
    Perl Artistic License / FREE
    November 20th, 2008, 16:49 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    BSD::Getfsent description

    Get file system descriptor file entry

    BSD::Getfsent is a Perl module that can be used to get file system descriptor file entry.

    SYNOPSIS

     use BSD::Getfsent qw(getfsent);

     while (@entry = getfsent()) {
     print "@entry
    ";
     }

    FUNCTIONS

    getfsent

    In list context, each file system entry is returned (getfsent() continuously reads the next line of the /etc/fstab file).

    The list returned is structured as follows:

     $entry[0] # block special device name
     $entry[1] # file system path prefix
     $entry[2] # type of file system
     $entry[3] # comma separated mount options
     $entry[4] # rw, ro, sw, or xx
     $entry[5] # dump frequency, in days
     $entry[6] # pass number on parallel fsck

    In scalar context, total of entries is returned.

    FILES

    /etc/fstab

    EXPORT

    getfsent() is exportable.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    descriptor file | Perl module | BSD | descriptor | fetcher

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM