Hi, On Tue, 31 Jan 2012 14:57:35 +0100 Laurent Bercot <[email protected]> wrote:
> > udisks is needed for usb disks to show up in thunar. > > What functionality does thunar need that udisks provides ? Maybe we > can figure out a way to do it with some clever right management and > remove your dependency to udisks. Actually, the feature is only needed to do clean umount of the devices from command line. What the uhelper=xxx does, is that when user runs "umount /mnt", it calls the uhelper provided instead of kernel. It is then expected that the uhelper eventually calls again "umount -i /mnt" which does the umounting job. The idea is to hook umount calls, so that they send proper notifications to the UI about device being umounted. Basically it works. One just should do "umount /mnt" from command line for devices automounted by the UI components. > > All I ask for is ideas how to work those out. And believe me: I do > > *not* want bloat busybox. > > Mounting devices as a non-root user feels very hackish and > counter-intuitive to me. On embedded boxes, the mount/umounts are > always performed as root, and it makes sense. But busybox mount supports 'user' flag in fstab. Ironically, busybox umount does not support that flag, so it is kinda useless. > If there's no other solution, I guess patching busybox's mount/umount > to add uhelper support could be an option (as long as it's protected > by a compile-time flag), if Denys agrees; but I'd rather find a way to > avoid acknowledging that non-root mounting exists, if possible. Non-root mounting is useful. However, that is completely different from uhelper stuff. I guess this ultimately about someone just taking the time to implement the uhelper (and non-root umount) stuff in a clean enough manner. - Timo _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
