From ca6182333e1417bde216abd8e223f23989a45445 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 12 Apr 2011 10:05:25 +0200 Subject: mount: add note about blank lines to fstab.5 Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=694648 Signed-off-by: Karel Zak --- mount/fstab.5 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mount/fstab.5') 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 -- cgit v1.2.3-55-g7522