Hi,

udisks needs support for the uhelper option to mount/umount[1] and
currently udisks does not work at all with busybox mount/umount. (I
hacked[2] udisks but its not getting accept from upstream udisks)

busybox mount chokes on the -o uhelper=udisks mount option.

To my understanding this is how udisks work:
1.  you plug in a disk and click on it in file manager
2. udisks mounts it with -o uhelper=udisks
3. mount stores that mount option in /run/mount/utab[3]
4. user does umount from command line (or click on "eject icon")
5. umount finds the uhelper=udisks mount option and executes umount.udisks

Here is how /run/mount/utab looks like in fedora:

SRC=/dev/sdb1 TARGET=/media/F7A0-72E5 ROOT=/ OPTS=uhelper=udisks

I find the idea of /run/mount/utab a bit ugly, but they need some
place to store userspace only mount options some place.

Any ideas how to make udisks play nice with busybox mount/umount?

references:
[1] http://linux.die.net/man/8/umount
[2] https://bugs.freedesktop.org/show_bug.cgi?id=41142
[3] 
http://www.kernel.org/pub/linux/utils/util-linux/v2.21/libmount-docs/libmount-Tables-update.html

-- 
Natanael Copa
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to