Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

FSTAB(5)

NAME

fstab − static information about filesystems

USAGE

#include <fstab.h>

DESCRIPTION

The file /etc/fstab contains descriptive information about the various file systems.  On DOMAIN systems, it is a link to ‘node_data/etc.fstab. It is is only read by programs, and not written; the system administrator is responsible for properly creating and maintaining the /etc/fstab file. The order of records in /etc/fstab is important because mount(8) and umount(8) sequentially iterate through the file in performing their respective functions. 

The special file name is the block special filename, and not the character special filename.  If a program needs the character special filename, the program must create it by appending a “r” after the last “/” in the special filename. 

If fs_type is “rw” or “ro” then the file system whose name is given in the fs_file field is normally mounted read-write or read-only on the specified special file. 

If fs_type is specified as “xx” the entry is ignored.  This is useful to show disk partitions which are currently not used.  #define FSTAB_RW “rw”/* read-write device */ #define FSTAB_RO “ro”/* read-only device */ #define FSTAB_XX “xx” /* ignore totally */
 
struct fstab { char*fs_spec;/* block special device name */ char*fs_file; /* file system path prefix */  char *fs_type; /* rw,ro,or xx */  int fs_freq; /* dump frequency, in days;currently unused */  int fs_passno; /* pass number on parallel dump;currently unused */ };

FILES

/etc/fstab static information on file systems

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