Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 20:04:19 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        "David O'Brien" <obrien@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc rc.diskless1 rc.diskless2
Message-ID:  <200202230404.g1N44Jp33770@apollo.backplane.com>
References:  <200202221905.g1MJ5NJ65641@freefall.freebsd.org> <20020222174206.A63155@iguana.icir.org> <20020222174951.A91144@dragon.nuxi.com> <200202230330.g1N3UgT33555@apollo.backplane.com> <20020222194354.A66374@iguana.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help

:
:On Fri, Feb 22, 2002 at 07:30:42PM -0800, Matthew Dillon wrote:
:
:>     rc.diskless2 is executed in a separate shell.  It does not have the
:>     config vars unless it gets them.  search for 'diskless_mount' in /etc/rc.
:
:i see. Why is it run in a separate shell instead of being sourced
:as all other /etc/rc.<foo> files ?
:
:	cheers
:	luigi

    Assuming I'm the one who did that (I think it was since I wrote the
    original rc.diskless code), then it's for safety.  The sysop can 
    replace rc.diskless2 with his own script and I didn't want any
    leakage back into the main rc script.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202230404.g1N44Jp33770>