]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: add note about blank lines to fstab.5
authorKarel Zak <kzak@redhat.com>
Tue, 12 Apr 2011 08:05:25 +0000 (10:05 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 12 Apr 2011 08:05:25 +0000 (10:05 +0200)
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=694648
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/fstab.5

index b6bd0205b0cb3663aabfd68e3350d86e24068cf1..09bcb38fe6259dc8f5a895f3a53c0d8bba6b004e 100644 (file)
@@ -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>