On Mon, Jul 21, 2014, at 10:28, Karel Zak wrote: > On Mon, Jul 21, 2014 at 08:05:29AM +0200, Bernhard Voelker wrote: > > It is possible to replace /etc/mtab by a symbolic link to > > /proc/mounts, and especially when you have very large numbers > > of mounts things will be much faster with that symlink, but some > > information is lost that way, and in particular using the "user" > > option will fail. > > Oops, this is really obsolete info. Fixed. Thanks! So how does umount determine that a device was mounted by a user and thus that the user is alllowed to unmount it again? In my /proc/mounts there is no indication that a user mounted a partition (apart from the "nosuid,nodev,noexec" hint, but that is no guarantee). Does it require a certain minimum kernel version? And what if the mount option is "users"? And in both cases, what if root mounted such a partition? How does umount figure out that a user may still not unmount it? Benno -- http://www.fastmail.fm - Same, same, but different... -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html