From: Karel Zak Date: Wed, 1 Aug 2012 15:14:21 +0000 (-0400) Subject: umount.nfs: ignore non-nfs filesystems X-Git-Tag: debian/1%1.2.8-1~11^2^2~102 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=808fd6bc68e00a686f8eed7e31f682a9128bdf9b;hp=808fd6bc68e00a686f8eed7e31f682a9128bdf9b umount.nfs: ignore non-nfs filesystems # umount.nfs /boot; echo $? umount.nfs: /boot: device is busy 32 expected and fixed behavior: # umount.nfs /boot; echo $? # umount.nfs: /boot: is not an NFS filesystem 1 Note that the function mnt_context_set_fstype_pattern() has never been used for mtab/fstab evaluation. It's usable only for "umount -a" and for "mount -t" operations. Reported-by: NeilBrown Signed-off-by: Karel Zak Signed-off-by: Steve Dickson ---