support usage of uhelper mount option
Brought to you by:
jengelh
In Fedora 15 /etc/mtab will be a symlink to /proc/mounts by default, This will break using the crypt filesystem in /etc/mtab to get filesystems mounted by mount.crypt umounted by umount.crypt. But there is a uhelper mount option that can be used instead, therefore please add support for this:
http://lists.fedoraproject.org/pipermail/devel/2011-January/147993.html
According to the manpage of umount it should already work for F14.
# mount -o uhelper=test /dev/sda1 /mnt/test
Won't record the uhelper option anywhere (neither in /etc/mtab, nor /proc/self/mounts nor /proc/self/mountinfo).
util-linux 2.19-rc1, kernel 2.6.37.
I suggest that you take care of a patch, based upon the time left to F15, and since Fedora is the distro that wants to have an mtab symlink so badly :-)
For my reference: http://www.spinics.net/lists/util-linux-ng/msg03205.html
http://www.kernel.org/pub/linux/utils/util-linux/libmount-docs/
Highprio since openSUSE 11.4 will ship with symlink too.
In Fedora 15 util-linux v2.19-rc1) (the uhelper option will be stored here: /dev/.mount/utab
I guess in previous versions it will be /etc/mtab,
I did not test anything this myself, yet.
Talked to Karel. util-linux 2.19-rc1+git does not yet support calling umount.crypt from umount with its new utab scheme from all user accounts.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
The game is on.