Re: Run a premade script before init and inittab

2003-04-06 Thread Burkhard Ritter
On Fri, 4 Apr 2003, Kris wrote:

 I am trying to make a file system boot completely read-only on the hard
 drive but have a ramdrive load the / to do this I have a custom scipt that
 must execute before INIT is this possible and where can I place my custom
 script to make sure this gets done.

Have a look at /etc/inittab. As you can take from this file the scripts in
/etc/rcS.d/ are executed first, so you probably want to put your custom
script there.

Burkhard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Run a premade script before init and inittab

2003-04-05 Thread Frank Gevaerts
On Fri, Apr 04, 2003 at 05:50:08PM -0800, Kris wrote:
 I am trying to make a file system boot completely read-only on the hard
 drive but have a ramdrive load the / to do this I have a custom scipt that
 must execute before INIT is this possible and where can I place my custom
 script to make sure this gets done.

You need to use an initrd for that. Check initrdtools and google

Frank

 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Run a premade script before init and inittab

2003-04-04 Thread Kris
I am trying to make a file system boot completely read-only on the hard
drive but have a ramdrive load the / to do this I have a custom scipt that
must execute before INIT is this possible and where can I place my custom
script to make sure this gets done.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]