On Sun, 1 Jan 2012 01:33:05 -0600 Matthew Thode (prometheanfire) <prometheanf...@gentoo.org> wrote:
> All of my systems currently have a seperate /usr that is mounted at > boot. Unfortunately I do agree that this is not something that we can > fight. This was brought up earlier and the only thing we can do > for people like myself (who mount /usr at boot) is to create a simple > initramfs that only has the purpose of mounting /usr at boot. The > main thing I don't like about initramfs is that we have to regenerate > it any time we update the packages that get included in it. Eh, I think I'll end up writing myself that four lines of shell code for you which mounts /usr and runs init. Or maybe I'll leave that task to you. Attaching my /init for micro-initramfs on klibc. It looks like that: ├── bin │ ├── ls │ ├── mount │ ├── run-init │ └── sh ├── dev │ ├── null │ └── sda2 ├── init ├── lib64 │ ├── klibc-MZ_9MGQEe6NFqmrPjRpy5i6WlV8.so │ └── libc.so -> klibc-MZ_9MGQEe6NFqmrPjRpy5i6WlV8.so ├── newroot └── proc $ du -sh 176K . -- Best regards, Michał Górny
init
Description: Binary data
signature.asc
Description: PGP signature