summaryrefslogtreecommitdiffstats
path: root/sys-utils/fstab.5
diff options
context:
space:
mode:
authorKarel Zak2012-06-19 12:04:03 +0200
committerKarel Zak2012-06-19 12:04:03 +0200
commit12b41eacf51aaae3dea97d9c52d5b90cdcc944b3 (patch)
tree37c3362ef97562aac078869595bab96192dc3aed /sys-utils/fstab.5
parentlsblk: permit option --exclude more than once (diff)
downloadkernel-qcow2-util-linux-12b41eacf51aaae3dea97d9c52d5b90cdcc944b3.tar.gz
kernel-qcow2-util-linux-12b41eacf51aaae3dea97d9c52d5b90cdcc944b3.tar.xz
kernel-qcow2-util-linux-12b41eacf51aaae3dea97d9c52d5b90cdcc944b3.zip
mount: (new) add note about unsupported 'ignore' fstype to fstab.5
Reported-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/fstab.5')
-rw-r--r--sys-utils/fstab.517
1 files changed, 10 insertions, 7 deletions
diff --git a/sys-utils/fstab.5 b/sys-utils/fstab.5
index 3d128a7b9..91c31576c 100644
--- a/sys-utils/fstab.5
+++ b/sys-utils/fstab.5
@@ -160,10 +160,6 @@ denotes a file or partition to be used
for swapping, cf.\&
.BR swapon (8).
An entry
-.I ignore
-causes the line to be ignored. This is useful
-to show disk partitions which are currently unused.
-An entry
.I none
is useful for bind or move mounts.
@@ -205,6 +201,8 @@ allow a user to mount
allow device owner to mount
.TP
.B comment
+or
+.B x-<name>
for use by fstab-maintaining programs
.TP
.B nofail
@@ -240,22 +238,27 @@ or zero, a value of zero is returned and
will assume that the filesystem does not need to be checked.
.RE
+.SH NOTES
The proper way to read records from
.B fstab
is to use the routines
.BR getmntent (3)
or
.BR libmount .
+
+The keyword
+.B ignore
+as filesystem type (3rd field) is not more supported by the pure
+libmount based mount utility (since util-linux v2.22).
+
.SH FILES
.IR /etc/fstab ,
.I <fstab.h>
.SH "SEE ALSO"
+.BR findmnt (8),
.BR mount (8),
.BR swapon (8),
.BR fs (5),
-.BR nfs (5),
-.BR xfs (5),
-.BR proc (5),
.BR getmntent (3)
.SH HISTORY
The ancestor of this