[arch-projects] [mkinitcpio][PATCH] shutdown: disassemble devices on shutdown v2
teg at jklm.no
Fri Mar 30 11:19:12 EDT 2012
On Mar 30, 2012 3:11 PM, "Thomas Bächler" <thomas at archlinux.org> wrote:
> Am 30.03.2012 15:01, schrieb Gerardo Exequiel Pozzi:
> > Anyway using shutdown hook provided by mkinitcpio in archiso can not be
> > a good idea archiso initramfs has a looots of kernel modules, shutdown
> > hooks will copy all them to ram.
> Ehm what? This is a bad idea regardless. Usual initramfs can also have
> lots of modules. You don't need to load additional modules on shutdown,
> so why copy them at all?
If the shutdown stuff had not been a hook, but built in, we could avoid
Just delete the modules and copy the rest to /run as the last thing in
./init before switching to the new root.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the arch-projects