update umount procedure
authorMiklos Szeredi <miklos@szeredi.hu>
Mon, 8 Nov 2010 15:00:16 +0000 (16:00 +0100)
committerMiklos Szeredi <mszeredi@suse.cz>
Mon, 8 Nov 2010 15:00:16 +0000 (16:00 +0100)
commiteba226948b44d5a303a10908d440e808eaf0bae6
treed4159cf06f50b52cd3bfdfc6e6ec58d4969523e2
parent9b2ab7ebed39ab680e0d9a489e213cb8c4f49970
update umount procedure

If umount(8) supports --fake and --no-canonicalize (util-linux-ng
version 2.18 or later), and umount(2) supports the UMOUNT_NOFOLLOW
flag (linux kernel version 2.6.35 or later) then, "fusermount -u" will
call the umount(2) system call and use "umount --fake ..." to update
/etc/mtab

Added --disable-legacy-umount option to configure.  This disables the
runtime checking of umount(8) version.  When built with this option
then "fusermount -u" will fail if umount(8) doesn't support the --fake
and --no-canonicalize options.
ChangeLog
configure.in
lib/mount_util.c
lib/mount_util.h
util/fusermount.c