On Fri, 9 Apr 1999, Andy Poling wrote:

> On Fri, 9 Apr 1999, Robert G. Brown wrote:
> > A second observation -- half the difficulty of building a diskless host
> > is figuring out what to custom alter in the system rc scripts.  I'd
> > really like to be able to use the same /etc/rc.d/rc.sysinit or rc.S on a
> > diskfull host and a diskless host, which would necessitate having some
> > sort of variable to add to wrap all the differentiated startup code,
> > e.g. fsck, network startup (which is already done for a diskless host).
> [...]
> > Is there such a variable?
> 
> Anything passed to the kernel as arguments that it doesn't recognize is
> supposed to get put into the environment.  You're using LILO... you could
> just put something like "DSKLSS=y" in your "append=" clause.

That would do it, but that is close to a kludge.  In order for it to
stop being a kludge, the variable would have to be standardized and
recognized as a diskless wrapper variable by distribution makers, which
is easiest if it is published in some way by the boot kernel itself.

Still, from little acorns great oaks grow.  I'll give it a try.  Once I
get the wrapping all clean and pretty for a few distributions, I suppose
that I can agitate for a cleaner solution, perhaps a /proc entry made by
the boot kernel at startup.

  Thanks!

    rgb

Robert G. Brown                        http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567  Fax: 919-660-2525     email:[EMAIL PROTECTED]



-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to