[gobolinux-users] Mounting /Programs on another partition

Nick Matteo kundor at kundor.org
Fri Mar 9 15:01:40 UTC 2007


I've been thinking about this a little.  You could avoid the need for
any Programs on the root device by using an initramfs.

An initfs is an initial root directory built into your kernel image.
Its job is to set up the real filesystem, and hand control over to it.
 That way, the kernel doesn't have to worry about finding partitions,
loading the right modules, mounting over networks, etc. in order to
have a working root.

In this case, the init in the initfs would just need to mount the real
root, then mount the /Programs partition under it, then pivot_root and
hand control over to the normal init.

I think all you would need in the initfs image would be
-that init program
-klibc
-any modules necessary to mount / and /Programs

Nick


More information about the gobolinux-users mailing list