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. As for even the rootfs, fortunately, it can still be on a real HD... I know it's akin to superstition or 'voodoo', but the idea of my root being virtual makes me uncomfortable. How would I know if it is the real root and isn't just a namespace root? Couldn't systemd hide under a namespace root and keep the real root in memory? It may not do so now, but if it is possible, you know someone will do it. Talk about built-in rootkit opportunities. Just like MS's always on updates have had security breaches and been used to load malware... if it is remotely possible, it is inevitable, that it eventually will. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org