Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vfstab(4) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(1M)

mount(1M)

setmnt(1M)

getvfsent(3C)

vfstab(4)                                                         vfstab(4)

NAME
     vfstab - table of file system defaults

SYNOPSIS
     #include <sys/fstyp.h>
     #include <sys/param.h>
     #include <sys/vfstab.h>

DESCRIPTION
     The file etc/vfstab contains the defaults for each file system. The
     information is in the following structure, defined in <sys/vfstab.h>:

     struct vfstab
     {
         char *vfsspecial;
         char *vfsfsckdev;
         char *vfsmountp;
         char *vfsfstype;
         char *vfsfsckpass;
         char *vfsautomnt;
         char *vfsmntopts;
     };

     The fields in the table are separated by blanks. Comment lines begin
     with a "#". Blank lines are ignored. A minus sign "-" in a field means
     that no action takes place or no entry has been made. There are 7
     fields or columns in total:

     Column 1: "special"   Block-oriented or resource name

     Column 2: "fsckdev"   Raw device for fsck(1M)

     Column 3: "mountp"    Default mount directory

     Column 4: "fstype"    Name of the file system type

     Column 5: "fsckpass"  Entry specifying which file systems fsck(1M)
                           should check automatically: 0-9 (0 = default
                           file systems, 1-9 other file systems),
                           - (= none)

     Column 6: "automnt"   Entry specifying whether the file system should
                           be mounted automatically: yes, no or - (the root
                           file system "/" is always mounted).

     Column 7: "mntopts"   Entry specifying which specific mount options
                           (-o) the file system is to be automatically
                           mounted with (if any).

     The getvfsent family of routines are used to read and write to
     /etc/vfstab.




Page 1                       Reliant UNIX 5.44                Printed 11/98

vfstab(4)                                                         vfstab(4)

SEE ALSO
     fsck(1M), mount(1M), setmnt(1M), getvfsent(3C).




















































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026