minor reformat, add _PATH_ prefix to FSTAB, deprecate old version
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 28 Jun 1989 08:04:39 +0000 (00:04 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 28 Jun 1989 08:04:39 +0000 (00:04 -0800)
SCCS-vsn: include/fstab.h 5.5

usr/src/include/fstab.h

index 09e89fc..9d97b43 100644 (file)
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)fstab.h     5.4 (Berkeley) %G%
+ *     @(#)fstab.h     5.5 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
- * File system table, see fstab (5)
+ * File system table, see fstab(5).
  *
  * Used by dump, mount, umount, swapon, fsck, df, ...
  *
  *
  * Used by dump, mount, umount, swapon, fsck, df, ...
  *
- * The fs_spec field is the block special name.  Programs
- * that want to use the character special name must create
- * that name by prepending a 'r' after the right most slash.
- * Quota files are always named "quotas", so if type is "rq",
- * then use concatenation of fs_file and "quotas" to locate
+ * The fs_spec field is the block special name.  Programs that want to use
+ * the character special name must create that name by prepending a 'r'
+ * after the right most slash.  Quota files are always named "quotas", so
+ * if type is "rq", then use concatenation of fs_file and "quotas" to locate
  * quota file.
  */
  * quota file.
  */
-#define        FSTAB           "/etc/fstab"
+#define        _PATH_FSTAB     "/etc/fstab"
+#define        FSTAB           "/etc/fstab"    /* deprecated */
 
 
-#define        FSTAB_RW        "rw"    /* read/write device */
-#define        FSTAB_RQ        "rq"    /* read/write with quotas */
-#define        FSTAB_RO        "ro"    /* read-only device */
-#define        FSTAB_SW        "sw"    /* swap device */
-#define        FSTAB_XX        "xx"    /* ignore totally */
+#define        FSTAB_RW        "rw"            /* read/write device */
+#define        FSTAB_RQ        "rq"            /* read/write with quotas */
+#define        FSTAB_RO        "ro"            /* read-only device */
+#define        FSTAB_SW        "sw"            /* swap device */
+#define        FSTAB_XX        "xx"            /* ignore totally */
 
 
-struct fstab{
+struct fstab {
        char    *fs_spec;               /* block special device name */
        char    *fs_file;               /* file system path prefix */
        char    *fs_type;               /* FSTAB_* */
        char    *fs_spec;               /* block special device name */
        char    *fs_file;               /* file system path prefix */
        char    *fs_type;               /* FSTAB_* */