<p><br>
On Mar 30, 2012 3:11 PM, "Thomas Bächler" <<a href="mailto:thomas@archlinux.org">thomas@archlinux.org</a>> wrote:<br>
><br>
> Am 30.03.2012 15:01, schrieb Gerardo Exequiel Pozzi:<br>
> > Anyway using shutdown hook provided by mkinitcpio in archiso can not be<br>
> > a good idea archiso initramfs has a looots of kernel modules, shutdown<br>
> > hooks will copy all them to ram.<br>
><br>
> Ehm what? This is a bad idea regardless. Usual initramfs can also have<br>
> lots of modules. You don't need to load additional modules on shutdown,<br>
> so why copy them at all?</p>
<p>If the shutdown stuff had not been a hook, but built in, we could avoid this easily:</p>
<p>Just delete the modules and copy the rest to /run as the last thing in ./init before switching to the new root.</p>
<p>T</p>