Le vendredi 28 juin 2013 à 04:42 -0700, Linda Walsh a écrit :
Jan Engelhardt wrote:
On Friday 2013-06-28 10:35, Linda Walsh wrote:
Er... wait a sec, you mean initrd isn't deallocated after boot? ?
The cpio image is put into RAM by the bootloader, then gets extracted by the kernel on boot into a singleton instance "rootfs" (of type ramfs), after which the cpio image is freed, but of course the rootfs (cf. /proc/mounts) persists.
Once the real disk is mounted, the rootfs is cleared of all files (the root directory persists, as rootfs cannot be unmounted) by way of run-init:
So either return-to-rootfs is simply not implemented on openSUSE, or systemd erects its own ramfs and goes _there_ rather than to the original (now-empty) rootfs.
Interesting -- yet we are told systemd requires initfs to shut down the system cleanly. Hmmm... Something doesn't add up.
It doesn't require it. For some specific storage for rootfs (handled by daemon), the unmount should be handled by initramfs. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org