[arch-projects] [mkinitcpio][PATCH] shutdown: disassemble devices on shutdown v2

Thomas Bächler thomas at archlinux.org
Fri Mar 30 11:32:57 EDT 2012


Am 30.03.2012 17:19, schrieb Tom Gundersen:
>> 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
> this easily:
> 
> Just delete the modules and copy the rest to /run as the last thing in
> ./init before switching to the new root.

It's not like this is unsolvable as a hook.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20120330/ff556bf4/attachment.asc>


More information about the arch-projects mailing list