summaryrefslogtreecommitdiffstats
path: root/mount/fstab.5
diff options
context:
space:
mode:
authorKarel Zak2011-04-12 10:05:25 +0200
committerKarel Zak2011-04-12 10:05:25 +0200
commitca6182333e1417bde216abd8e223f23989a45445 (patch)
tree9505d03ae1a43f2beda6f7429964f7130587045a /mount/fstab.5
parentumount: support non-canonical devnames in mtab (diff)
downloadkernel-qcow2-util-linux-ca6182333e1417bde216abd8e223f23989a45445.tar.gz
kernel-qcow2-util-linux-ca6182333e1417bde216abd8e223f23989a45445.tar.xz
kernel-qcow2-util-linux-ca6182333e1417bde216abd8e223f23989a45445.zip
mount: add note about blank lines to fstab.5
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=694648 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/fstab.5')
-rw-r--r--mount/fstab.59
1 files changed, 6 insertions, 3 deletions
diff --git a/mount/fstab.5 b/mount/fstab.5
index b6bd0205b..09bcb38fe 100644
--- a/mount/fstab.5
+++ b/mount/fstab.5
@@ -52,8 +52,9 @@ contains descriptive information about the various file systems.
.B fstab
is only read by programs, and not written; it is the duty of the system
administrator to properly create and maintain this file. Each filesystem
-is described on a separate line; fields on each line are separated by tabs
-or spaces. Lines starting with '#' are comments. The order of records in
+is described on a separate line; fields on each line are separated by tabs or
+spaces. Lines starting with '#' are comments, blank lines are ignored. The
+order of records in
.B fstab
is important because
.BR fsck (8),
@@ -234,7 +235,9 @@ will assume that the filesystem does not need to be checked.
The proper way to read records from
.B fstab
is to use the routines
-.BR getmntent (3).
+.BR getmntent (3)
+or
+.BR libmount .
.SH FILES
.IR /etc/fstab ,
.I <fstab.h>