1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)fstab.h	5.1 (Berkeley) 5/30/85
   7:  */
   8: 
   9: /*
  10:  * File system table, see fstab (5)
  11:  *
  12:  * Used by dump, mount, umount, swapon, fsck, df, ...
  13:  *
  14:  * The fs_spec field is the block special name.  Programs
  15:  * that want to use the character special name must create
  16:  * that name by prepending a 'r' after the right most slash.
  17:  * Quota files are always named "quotas", so if type is "rq",
  18:  * then use concatenation of fs_file and "quotas" to locate
  19:  * quota file.
  20:  */
  21: #define FSTAB       "/etc/fstab"
  22: 
  23: #define FSTAB_RW    "rw"    /* read/write device */
  24: #define FSTAB_RQ    "rq"    /* read/write with quotas */
  25: #define FSTAB_RO    "ro"    /* read-only device */
  26: #define FSTAB_SW    "sw"    /* swap device */
  27: #define FSTAB_XX    "xx"    /* ignore totally */
  28: 
  29: struct  fstab{
  30:     char    *fs_spec;       /* block special device name */
  31:     char    *fs_file;       /* file system path prefix */
  32:     char    *fs_type;       /* FSTAB_* */
  33:     int fs_freq;        /* dump frequency, in days */
  34:     int fs_passno;      /* pass number on parallel dump */
  35: };
  36: 
  37: struct  fstab *getfsent();
  38: struct  fstab *getfsspec();
  39: struct  fstab *getfsfile();
  40: struct  fstab *getfstype();
  41: int setfsent();
  42: int endfsent();

Defined struct's

fstab defined in line 29; used 144 times

Defined macros

FSTAB_SW defined in line 26; used 1 times
FSTAB_XX defined in line 27; never used

Usage of this include

Last modified: 1985-06-19
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1033
Valid CSS Valid XHTML 1.0 Strict