]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: clean up -t info in mount.8 and fstab.5
authorKarel Zak <kzak@redhat.com>
Fri, 25 Jul 2014 11:08:41 +0000 (13:08 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 25 Jul 2014 11:08:41 +0000 (13:08 +0200)
 * remove the huge and unmaintained list of filesystems, just keep
   only very basic FS types in the man pages

 * add info about command delimited lists to fstab.5

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fstab.5
sys-utils/mount.8

index 487480f06ad589e90980c6596fce499528c9eb13..d9966c5ee25c8dea98841f8c46d3479899390450 100644 (file)
@@ -116,45 +116,10 @@ contains spaces these can be escaped as `\\040'.
 .RI ( fs_vfstype ).
 .RS
 This field describes the type of the filesystem.  Linux supports lots
-of filesystem types, such as
-.IR adfs ,
-.IR affs ,
-.IR autofs ,
-.IR coda ,
-.IR coherent ,
-.IR cramfs ,
-.IR devpts ,
-.IR efs ,
-.IR ext2 ,
-.IR ext3 ,
-.IR hfs ,
-.IR hpfs ,
-.IR iso9660 ,
-.IR jfs ,
-.IR minix ,
-.IR msdos ,
-.IR ncpfs ,
-.IR nfs ,
-.IR ntfs ,
-.IR proc ,
-.IR qnx4 ,
-.IR reiserfs ,
-.IR romfs ,
-.IR smbfs ,
-.IR sysv ,
-.IR tmpfs ,
-.IR udf ,
-.IR ufs ,
-.IR umsdos ,
-.IR vfat ,
-.IR xenix ,
-.IR xfs ,
-and possibly others. For more details, see
+of filesystem types, the most common are ext2, ext3, ext4, xfs, btrfs, vfat,
+sysfs, proc, nfs and cifs. For more details, see
 .BR mount (8).
 
-For the filesystems currently supported by the running kernel, see
-.IR /proc/filesystems .
-
 An entry
 .I swap
 denotes a file or partition to be used
@@ -164,6 +129,8 @@ An entry
 .I none
 is useful for bind or move mounts.
 
+More than one type may be specified in a comma-separated list.
+
 .BR mount (8)
 and
 .BR umount (8)
index f5caf37fdee30a9aba4ff2f5b7b4860e3c129707..43ef0053f2431c6e17dbd87595a4f22fdde890b2 100644 (file)
@@ -652,67 +652,12 @@ invisible for the helpers.  This is no problem for normal mounts, but user
 The argument following the
 .B \-t
 is used to indicate the filesystem type.  The filesystem types which are
-currently supported include:
-.IR adfs ,
-.IR affs ,
-.IR autofs ,
-.IR btrfs ,
-.IR cifs ,
-.IR coda ,
-.IR coherent ,
-.IR cramfs ,
-.IR debugfs ,
-.IR devpts ,
-.IR efs ,
-.IR ext ,
-.IR ext2 ,
-.IR ext3 ,
-.IR ext4 ,
-.IR hfs ,
-.IR hfsplus ,
-.IR hpfs ,
-.IR iso9660 ,
-.IR jfs ,
-.IR minix ,
-.IR msdos ,
-.IR ncpfs ,
-.IR nfs ,
-.IR nfs4 ,
-.IR ntfs ,
-.IR proc ,
-.IR qnx4 ,
-.IR ramfs ,
-.IR reiserfs ,
-.IR romfs ,
-.IR squashfs ,
-.IR smbfs ,
-.IR sysv ,
-.IR tmpfs ,
-.IR ubifs ,
-.IR udf ,
-.IR ufs ,
-.IR umsdos ,
-.IR usbfs ,
-.IR vfat ,
-.IR xenix ,
-.IR xfs ,
-.IR xiafs .
-Note that coherent, sysv and xenix are equivalent and that
-.I xenix
-and
-.I coherent
-will be removed at some point in the future \(en use
-.I sysv
-instead.  Since kernel version 2.1.21 the types
-.I ext
+currently supported depend on kernel. See
+.I /proc/filesystems
 and
-.I xiafs
-do not exist anymore.  Earlier,
-.I usbfs
-was known as
-.IR usbdevfs .
-Note, the real list of all supported filesystems depends on your
-kernel.
+.I /lib/modules/$(uname -r)/kernel/fs
+for complete list of the filesystems. The most common are ext2, ext3, ext4, 
+xfs, btrfs, vfat, sysfs, proc, nfs and cifs.
 
 The programs
 .B mount
@@ -723,24 +668,6 @@ example  'fuse.sshfs'.  It's recommended to use subtype notation rather than add
 any prefix to the mount source (for example 'sshfs#example.com' is
 deprecated).
 
-For most types all the
-.B mount
-program has to do is issue a simple
-.IR mount (2)
-system call, and no detailed knowledge of the filesystem type is required.
-For a few types however (like nfs, nfs4, cifs, smbfs, ncpfs) an ad hoc code is
-necessary.  The nfs, nfs4, cifs, smbfs, and ncpfs filesystems
-have a separate mount program.  In order to make it possible to
-treat all types in a uniform way, \fBmount\fR will execute the program
-.BI /sbin/mount. type
-(if that exists) when called with type
-.IR type .
-Since different versions of the
-.B smbmount
-program have different calling conventions,
-.B /sbin/mount.smbfs
-may have to be a shell script that sets up the desired call.
-
 If no
 .B \-t
 option is given, or if the
@@ -774,12 +701,26 @@ can be useful to change the probe order (e.g., to try vfat before msdos
 or ext3 before ext2) or if you use a kernel module autoloader.
 
 More than one type may be specified in a comma-separated
-list.  The list of filesystem types can be prefixed with
+list for
+.B \-t
+as well as by
+.I /etc/fstab
+entry.  The list of filesystem types for the option
+.B \-t 
+can be prefixed with
 .B no
 to specify the filesystem types on which no action should be taken.
-(This can be meaningful with the
+The prefix
+.B no
+has no any effect when specified by
+.I /etc/fstab
+entry.
+
+The prefix
+.B no
+can be meaningful with the
 .B \-a
-option.)  For example, the command
+option.  For example, the command
 .RS
 .RS
 .sp
@@ -790,7 +731,26 @@ mounts all filesystems except those of type
 .I msdos
 and
 .IR ext .
+
+For most types all the
+.B mount
+program has to do is issue a simple
+.IR mount (2)
+system call, and no detailed knowledge of the filesystem type is required.
+For a few types however (like nfs, nfs4, cifs, smbfs, ncpfs) an ad hoc code is
+necessary.  The nfs, nfs4, cifs, smbfs, and ncpfs filesystems
+have a separate mount program.  In order to make it possible to
+treat all types in a uniform way, \fBmount\fR will execute the program
+.BI /sbin/mount. type
+(if that exists) when called with type
+.IR type .
+Since different versions of the
+.B smbmount
+program have different calling conventions,
+.B /sbin/mount.smbfs
+may have to be a shell script that sets up the desired call.
 .RE
+
 .IP "\fB\-O, \-\-test-opts \fIopts\fP"
 Limit the set of filesystems to which the
 .B \-a