Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fstab(4) — HP-UX ANSI C A.09.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getfsent(3X)

getmntent(3X)

checklist(4)

mnttab(4)

fstab(4)

NAME

fstab − static information about the file systems

SYNOPSIS

#include <fstab.h>

REMARKS

This file is provided only for portability of applications developed under BSD.  New applications should use <mntent.h> and getmntent() (see getmntent(3)).

DESCRIPTION

Including <fstab.h> provides portability for BSD applications using getfsent() (see getfsent(3X)). getfsent() reads file /etc/checklist and fills in the fstab structure defined in <fstab.h>.  Note that, in BSD systems, /etc/fstab is read using the getfsent(3X) routines. On HP-UX systems, getfsent(3X) emulates the BSD behavior.  Note also that including and using <checklist.h> does not produce the same behavior from getfsent(3X) as including and using <fstab.h>. 

The struct fstab structure is declared in <fstab.h>, and includes the following members:

char    *fs_spec    Block special device name
char    *fs_file    File system path prefix
char    *fs_type    Type of file system (FSTAB_*)
int     fs_passno   Pass number on parallel dump
int     fs_freq     Dump frequency, in days

BSD applications that depend on the position of elements within the structure are not portable. 

AUTHOR

fstab was developed by HP, and the University of California, Berkeley. 

SEE ALSO

getfsent(3X), getmntent(3X), checklist(4), mnttab(4). 

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

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