Am 25.10.2011 14:12, schrieb clemens fischer:
We are currently working on adding support for the second approach, but we are not there yet (I have some patches against mkinitcpio to add this, but they rely on a patch by Thomas against busybox that has not yet landed upstream).
What patch would that be? THE-FAVOURITE-SEARCH-ENGINE didn't pull anything useful for "patch Thomas-Bächler busybox". Can somebody point us to the relevant code, please?
I am not sure which patch he means. I wrote something recently, but I only shared that with Tom in private conversations and it is not related to this issue.
A hook to mount the users /usr would presumably go right before
"if [ -x /lib/udev/udevd ]; then"
in "/lib/initcpio/init"?
Are the symlinks in "/dev/disk/by-label/" by then? I guess not, since udevd rules are responsible for setting them up, right?
Mounting /usr needs to go to the initramfs. It is possible to implement a mount handler for this. At this stage, the by-label symlinks exist already.