On Tue, Jan 31, 2012 at 12:20 PM, [email protected] <[email protected]> wrote: > Hi Natanael!
Hi! >> There are a few minor details/annoyances like umount not working 100%. >> All I ask for is ideas how to work those out. And believe me: I do >> *not* want bloat busybox. > > Ok, lets look into details. The requirement is that they run a > program/scripts on mount behave the "uhelper=" option. But where is a > clear documentation of that option either? Yeah, I had to learn about it the hard way. There are references to it in umount(8) man page but it doesn't mention the /run/mount/utab. The only doc I have seen mention it is http://www.kernel.org/pub/linux/utils/util-linux/v2.21/libmount-docs/libmount-Tables-update.html > It doesn't look to me that > this is a real upstream option of mount? Looks more like someone has > thrown in a hack there to do something not in a POSIX conform way. That was exactly my first reaction too. However POSIX does not really mention mount/umount. http://pubs.opengroup.org/onlinepubs/007904875/utilities/contents.html > So give reference to full and clear upstream documentation of that > "uhelper=" feature before asking for including it in Busybox. http://git.kernel.org/?p=utils/util-linux/util-linux.git;a=blob;f=mount/umount.8#l157 It actually does not mention anything about the location and format of the userspace options. > Beside this have you thought of hooking into those mount helper > programs? Why not creating scripts to replace the mount helpers to > throw in your ugly stuff. Just a thought for such things of how to tweak > a current Busybox system without modification to the Busybox binary. Its not my ugly stuff. (my ugly stuff is the udisks lobotomy patch that was not acceptable) Sounds hackish. There have been some other efforts to solve those problems in wrappers http://pmount.alioth.debian.org/ but it seems like the recent trend have been to implement it in util-linux rather than use an external wrapper. (I can understand that people don't want keep track of when they should use pmount/mount and pumount/umount) I don't think I want go that way. -- Natanael Copa _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
