From: Karel Zak Date: Tue, 12 Apr 2011 08:05:25 +0000 (+0200) Subject: mount: add note about blank lines to fstab.5 X-Git-Tag: v2.20-rc1~375 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca6182333e1417bde216abd8e223f23989a45445;p=thirdparty%2Futil-linux.git mount: add note about blank lines to fstab.5 Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=694648 Signed-off-by: Karel Zak --- diff --git a/mount/fstab.5 b/mount/fstab.5 index b6bd0205b0..09bcb38fe6 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