Messages in this thread | | | Date | Tue, 06 Nov 2007 13:25:21 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] init: Introduce rootdir bootparm to select which dir to sys_chroot |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |