I started working on adding support for unprivileged mounts[1] to util-linux. The big obstacle seems to be the reliance on /etc/mtab, since that won't be kept up-to-date after mount(2) or umount(2) calls by unprivileged users. It's not just mount(8) that reads /etc/mtab, but various other utilities, for example df(1). So the best solution would be if /etc/mtab were a symlink to /proc/mounts, and the kernel would be the authoritative source of information regarding mounts. This works quite well already, but there are minor problems: (1) user mounts ("user" or "users" option in /etc/fstab) currently need /etc/mtab to keep track of the owner (2) lots of filesystems only present a few mount options (or none) in /proc/mounts (1) can be solved with the new mount owner support in the unprivileged mounts patchset. Mount(8) would still have to detect at boot time if this is available, and either create the symlink to /proc/mounts or if MS_SETOWNER is not available, fall back to using /etc/mtab. (2) needs work in the filesystems implicated. I already have patches for ext2, ext3, tmpfs, devpts and hostfs, and it would be nice if the maintainers for others could help out. It wouldn't even be fatal if some mount options were missing from /proc/mounts. Mount options in /etc/mtab have never been perfectly accurate, especially after a remount, when they could get totally out of sync with the options effective for the filesystem. Can someone think of any other problem with getting rid of /etc/mtab? Thanks, Miklos [1] http://lkml.org/lkml/2007/4/27/180 - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html