Re: [PATCH] init: Introduce rootdir bootparm to select which dirto sys_chroot

From: H. Peter Anvin
Date: Tue Nov 06 2007 - 16:25:35 EST


Al Boldi wrote:
H. Peter Anvin wrote:
Al Boldi wrote:
Al Boldi wrote:
This patch introduces a rootdir kernel boot parameter, which specifies
the path to the kernel sys_chroot boot dir.

This is useful for systems that have more than one distribution
installed on the same fs/partition.
This seems like something that should be done via an initramfs.

Agreed. But, not everybody boots their systems via initramfs, and even if they did, they also have to know how to reconfigure it.

In contrast, this patch offers the rootdir functionality as a simple bootparm and without any extra initramfs dependency.


And yet another hack in the kernel!

Instead of heaping hack du jour into the kernel, write a small initramfs that provides the appropriate functionality, please.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/