Re: PATCH to support dotted base directory names

Miquel van Smoorenburg (miquels@cistron.nl)
9 Jul 1999 15:06:52 +0200


In article <cistron.19990709142018.I400@mencheca.ch.genedata.com>,
>I don't see why we need this in the kernel. Your distribution can
>(as you evidently know) pass `init=/.sbi/init' to the kernel, so why
>do we need this?

Because init=/.sbi/init doesn't just start /.sbi/init as PID #1, it
starts an _internal kernel init_ which keeps on respawning the program
you pass to init= . That program doesn't have init-like properties
(can be killed, is not PID #1).

>Is there actually a good reason we have /etc/init
>and /bin/init in there still? Has any distribution in the last 5
>years not put init in /sbin?

The kernel should be fixed. There should be a shell= option which does
what init= does now, and init= should just do what it implies ...

Mike.

-- 
Beware of Programmers who carry screwdrivers.

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