On Jul 13, 2011, at 4:32 AM, Karel Zak wrote: > Good point. There is demand for a generic API to assemble block > devices (dm-crypt, MD, LVM, loopdev, ...). This functionality has > been requested by desktop guys, dracut, udev and it seems also > attractive for mount and fsck. I'll probably start to work on this > task at the end of this year (I hope with DM guys). > > My goal is to provide only library and command line interface, so the > library will be usable everywhere (for example also in some D-BUS > daemon, dracut, etc.) For many cases it might also be useful to have some way of specfying that some of these block devices should be automatically specified at at boot time, and supply an init script that sets up certain block devices before the fsckall script is run? What might also be cool is some way of specifying that certain block devices should only be created after the user logs on, and then there would be a PAM module that would take care of using the user's login password and passing it to LUKS. Some of thise might be done in plugins, and not your core library, but I think these are two important use cases to keep in mind. -- Ted -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html