From afc88d972b6b8111ad84d86b47ae95a4576a9f3a Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Thu, 26 Nov 1998 04:26:01 +0000 Subject: share/man/man5/ man page repairs --- share/man/man5/fstab.5 | 115 +++++++++++++++++++++++++++++-------------------- 1 file changed, 68 insertions(+), 47 deletions(-) (limited to 'share/man/man5/fstab.5') diff --git a/share/man/man5/fstab.5 b/share/man/man5/fstab.5 index 9684dae899b..5f6328cfbc0 100644 --- a/share/man/man5/fstab.5 +++ b/share/man/man5/fstab.5 @@ -1,3 +1,4 @@ +.\" $OpenBSD: fstab.5,v 1.7 1998/11/26 04:25:58 aaron Exp $ .\" $NetBSD: fstab.5,v 1.5.2.1 1995/11/16 20:11:11 pk Exp $ .\" .\" Copyright (c) 1980, 1989, 1991, 1993 @@ -64,59 +65,66 @@ sequentially iterate through doing their thing. .Pp The first field, -.Pq Fa fs_spec , +.Fa fs_spec , describes the block special device or remote filesystem to be mounted. For filesystems of type -.Em ffs , +.Tn ffs , the special file name is the block special file name, and not the character special file name. If a program needs the character special file name, -the program must create it by appending a ``r'' after the -last ``/'' in the special file name. +the program must create it by appending an +.Dq r +after the +last +.Dq / +in the special file name. .Pp The second field, -.Pq Fa fs_file , +.Fa fs_file , describes the mount point for the filesystem. -For swap partitions, this field should be specified as ``none''. +For swap partitions, this field should be specified as +.Dq none . .Pp The third field, -.Pq Fa fs_vfstype , +.Fa fs_vfstype , describes the type of the filesystem. The system currently supports eleven types of filesystems: -.Bl -tag -width indent -offset indent -.It Em adosfs +.Pp +.Bl -tag -width indent -offset indent -compact +.It adosfs An .Tn AmigaDOS -filesystem -.It Em cd9660 -an ISO 9660 CD-ROM filesystem -.It Em fdesc -an implementation of /dev/fd -.It Em ffs -a local +filesystem. +.It cd9660 +An ISO9660 CD-ROM filesystem. +.It fdesc +An implementation of +.Pa /dev/fd . +.It ffs +A local .Tn UNIX -filesystem -.It Em kernfs -various and sundry kernel statistics -.It Em mfs -a local memory-based +filesystem. +.It kernfs +Various and sundry kernel statistics. +.It mfs +A local memory-based .Tn UNIX -filesystem -.It Em msdos -a MSDOS ``FAT'' filesystem -.It Em nfs -a Sun Microsystems compatible ``Network File System'' -.It Em procfs -a local filesystem of process information -.It Em swap -a disk partition to be used for swapping -.It Em union -a translucent filesystem +filesystem. +.It msdos +An MS-DOS FAT filesystem. +.It nfs +A Sun Microsystems compatible Network File System. +.It procfs +A local filesystem containing process information. +.It swap +A disk partition to be used for swapping. +.It union +A translucent filesystem. .El .Pp The fourth field, -.Pq Fa fs_mntops , +.Fa fs_mntops , describes the mount options associated with the filesystem. It is formatted as a comma separated list of options. It contains at least the type of mount (see @@ -124,11 +132,20 @@ It contains at least the type of mount (see below) plus any additional options appropriate to the filesystem type. .Pp -The option ``auto'' can be used in the ``noauto'' form to cause -a file system not to be mounted automatically (with ``mount -a'', -or system boot time). +The option +.Dq auto +can be used in the +.Dq noauto +form to cause +a file system not to be mounted automatically (with +.Ic mount -a , +or at system boot time). .Pp -If the options ``userquota'' and/or ``groupquota'' are specified, +If the options +.Dq userquota +and/or +.Dq groupquota +are specified, the filesystem is automatically processed by the .Xr quotacheck 8 command, and user and/or group disk quotas are enabled with @@ -159,13 +176,19 @@ field (it is not deleted from the field). If .Fa fs_type -is ``rw'' or ``ro'' then the filesystem whose name is given in the +is +.Dq rw +or +.Dq ro +then the filesystem whose name is given in the .Fa fs_file field is normally mounted read-write or read-only on the specified special file. If .Fa fs_type -is ``sw'' then the special file is made available as a piece of swap +is +.Dq sw +then the special file is made available as a piece of swap space by the .Xr swapon 8 command at the end of the system reboot procedure. @@ -176,11 +199,13 @@ and are unused. If .Fa fs_type -is specified as ``xx'' the entry is ignored. +is specified as +.Dq xx +the entry is ignored. This is useful to show disk partitions which are currently unused. .Pp The fifth field, -.Pq Fa fs_freq , +.Fa fs_freq , is used for these filesystems by the .Xr dump 8 command to determine which filesystems need to be dumped. @@ -189,7 +214,7 @@ If the fifth field is not present, a value of zero is returned and will assume that the filesystem does not need to be dumped. .Pp The sixth field, -.Pq Fa fs_passno , +.Fa fs_passno , is used by the .Xr fsck 8 program to determine the order in which filesystem checks are done @@ -204,7 +229,7 @@ but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth field is not present or is zero, a value of zero is returned and -.Xr fsck +.Xr fsck 8 will assume that the filesystem does not need to be checked. .Bd -literal #define FSTAB_RW "rw" /* read-write device */ @@ -234,10 +259,6 @@ and .Sh FILES .Bl -tag -width /etc/fstab -compact .It Pa /etc/fstab -The file -.Nm fstab -resides in -.Pa /etc . .El .Sh SEE ALSO .Xr getfsent 3 -- cgit v1.2.3