Whamcloud - gitweb
fsck: '#' is only a comment character at the beginning of an fstab line
authorTheodore Ts'o <tytso@mit.edu>
Sun, 16 Dec 2007 20:41:15 +0000 (15:41 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 16 Dec 2007 20:41:15 +0000 (15:41 -0500)
commit5221837e62641958f237e7fb5dee999cbfc850c9
tree2984b3638e7daa7a8ec94d9f8d0d145d2e5fc208
parentf8efcda2db612f6b6d33dc1a6ff78a1c048608f4
fsck: '#' is only a comment character at the beginning of an fstab line

Fuse and ssh fstab lines such as:

  wdfs#https://dav.hoster.com/foo/bar /mnt/hoster fuse user,noauto 0 0

will cause fsck to issue warnings about invalid fstab lines, because
fsck was previously treating '#' as a comment when it appeared
anywhere in an fstab line, not just at the beginning of the line.

Addresses-Gentoo-bug: #195405
Addresses-Sourceforge-bug: #1826147

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/fsck.c