]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/mount.c
mount: apply "nofail" to MNT_ERR_NOSOURCE libmount error
authorKarel Zak <kzak@redhat.com>
Mon, 7 Apr 2014 10:09:11 +0000 (12:09 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Apr 2014 10:09:11 +0000 (12:09 +0200)
commitb6bdccc710642b43694ec49e563cdfc0e9cd81fa
tree52b30ae1ee0f2480a5338aba7d5c7b1d974e5aed
parent0ce2fe873817a75494afe1d78bf85e74ca4cd8ab
mount: apply "nofail" to MNT_ERR_NOSOURCE libmount error

 fstab:
     UUID=nonexist /mnt/nonexist1 ext4 nofail 0 1

 # mount -av
 mount: can't find UUID=nonexist

.. this is bug of course.

Reported-by: Patrick McLean <chutzpah@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c
sys-utils/mount.c