Posted by: kim
Info about /sbin/init - 20/02/2000 03:44
Any chance of getting the source code of /sbin/init or atleast some information of what it does?
I've been trying to create an own bootloader which lets you to choose what program you want to run - so that running custom programs without being on console would be possible.
I've been playing with /sbin/init and I can run simple programs in it but since the drives are not mounted yet, I have trouble loading files from other directories, etc.
All I would need to know is how it mounts the drives in beginning and what other init code it executes before it launches /empeg/bin/player. Also as it has some mechanism of remounting partitions and switching to shell-player loop when you press 'q' from the player, it would be nice to have a proper init that does also the same kind of things (to ensure that drives are always in safe state, etc).
Kim
I've been trying to create an own bootloader which lets you to choose what program you want to run - so that running custom programs without being on console would be possible.
I've been playing with /sbin/init and I can run simple programs in it but since the drives are not mounted yet, I have trouble loading files from other directories, etc.
All I would need to know is how it mounts the drives in beginning and what other init code it executes before it launches /empeg/bin/player. Also as it has some mechanism of remounting partitions and switching to shell-player loop when you press 'q' from the player, it would be nice to have a proper init that does also the same kind of things (to ensure that drives are always in safe state, etc).
Kim