Re: [PATCH 2.6.24] chroot= as a new kernel parameter

From: H. Peter Anvin
Date: Thu Mar 06 2008 - 10:18:29 EST


Ingo Molnar wrote:
* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

Pawel Plociennik wrote:
Hi Andrew and other *real* hackers,

I have sent a *last* version of a patch which it has added a new kernel parameter chroot=
It were discusioned a *long time* on a lkml so I hope that it will has been applied.
It has been discussed and *rejected* a large number of times.

This is completely useless bloat.

why is it useless? Would it be more acceptable were it made dependent on a .config option?


It's useless because it's exactly and trivially replaceable with:

init=/path/to/any/sbin/chroot /newroot /sbin/init

The last thing we want is to pile more stuff into the in-kernel initialization code, and no, making it a config option makes it even worse.

-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/