Dave Cinege wrote the following argument in favor of /linuxrc
(and his proposed boot line parameter to give it an arbitrary name):
> Standardized way to execute things prior to init
> Will not fail for lack of /dev/console (Current init= will!)
I sent Dave a longer response, but having thought about it
a bit more, I now see a simpler solution:
Whatever console mechanism the kernel uses up to the point
it executes /linuxrc, it should continue use until it invokes /sbin/init.
Then, /sbin/init should mount /dev first, and then execute something like:
fd = open("/dev/vc/0", O_RDWR);
ioctl(fd, TIOCCONS, &fd);
This would eliminate one more depency on the contents of the
root file system, which would be a small step in the longer path toward
being able to build a kernel without most of the filesystem code for
really tiny embedded applications.
Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
firstname.lastname@example.org \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:22 EST