On Tue, Apr 03, 2001 at 03:28:13PM +0100, Glen Gray wrote:
> c) Init scripts seem to take a long time and here is where I am stuck.
> The only thing I could think
> of would be to some how paralleliz the scripts but a google search
> on such things only gave
> me stuff about beowulf pvm or The Hurd. Theoretically this could be
> done. But I'd like to see if
> it's been done safely before.
someone mentioned tossing the init scripts for a single script, i'd go
one better - toss the scripts. write a c program to do all that and
have init run it. should be easy to learn (by docs or init source or
trial and error) what rc script is run first and what args it gets.
then have the c program fork and exec what it needs to run.
one issue might be a need to set environment vars that the shell would
normally set. again, figure this out by trial and error.
kevin
--
kevin at suberic.net i... i have a dream. and that dream is:
fork()'ed on 37058400 use DIY::Tiler;
meatspace place: work my($t) = new DIY::Tiler;
http://suberic.net/~kevin $t->tile(-room => "en-suite", -style => "stone");
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!