Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vfstab(4) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(1M)

mount(1M)

setmnt(1M)

getvfsent(3C)



vfstab(4)                 FILE FORMATS                  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 describes defaults for each file system.
     The  information  is  in the following structure, defined in
     <sys/vfstab.h>:

          struct vfstab {
               char   *vfs_special;
               char   *vfs_fsckdev;
               char   *vfs_mountp;
               char   *vfs_fstype;
               char   *vfs_fsckpass;
               char   *vfs_automnt;
               char   *vfs_mntopts;
          };

     The fields in the table are  space-separated  and  show  the
     block  special or resource name, the raw device to fsck, the
     default mount directory, the name of the file  system  type,
     the  number used by fsck to decide whether to check the file
     system automatically, whether  the  file  system  should  be
     mounted automatically by mountall, and the mount options.  A
     '-' is used to indicate no entry in a field.

     If the fstype field is ``swap'' and the automount  field  is
     ``no'',  the partition is automatically added as a swap par-
     tition when the system starts.  This  only  works  for  full
     partitions on local disks.

     The getvfsent(3C) family of routines are used  to  read  and
     write to /etc/vfstab.

SEE ALSO
     fsck(1M), mount(1M), setmnt(1M)
     getvfsent(3C) in the Programmer's Reference Manual
     Chapter 5 in the System Administrator's Guide












                                                                1



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