Package: mount Version: 2.15.1~rc1-1 Severity: normal Hi! The umount-manpage states: NOTES The syntax of external umount helpers is: /sbin/umount.<suffix> [-nlfvr] dir | device where the <suffix> is filesystem type or a value from "uhelper=" mtab option. The uhelper (unprivileged umount helper) is possible to used when non-root user wants to umount a mountpoint which is not defined in the /etc/fstab file (e.g devices mounted by HAL). But the uhelper is only called when the uhelper= option is present and not based on filesystem type. A feature which would be really great because I could umount usermounted filesytems like ltspfs (www.ltsp.org, fuse based) with umount. I tried a quick hack (works for me), but I'm not sure about the correctness :-) --- umount.c.orig 2009-05-27 15:37:52.000000000 +0200 +++ umount.c 2009-06-15 15:33:07.000000000 +0200 @@ -492,6 +492,8 @@ if (mc->m.mnt_opts) uhelper = get_value(mc->m.mnt_opts, "uhelper="); + if (!uhelper) + uhelper = mc->m.mnt_type; if (uhelper) { int status = 0; if (check_special_umountprog(arg, arg, -- Jörg Friedrich There are only 10 types of people: Those who understand binary and those who don't.
Attachment:
signature.asc
Description: Digital signature