From owner-cvs-all Fri Feb 22 20: 4:25 2002 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id B748637B402; Fri, 22 Feb 2002 20:04:19 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g1N44Jp33770; Fri, 22 Feb 2002 20:04:19 -0800 (PST) (envelope-from dillon) Date: Fri, 22 Feb 2002 20:04:19 -0800 (PST) From: Matthew Dillon Message-Id: <200202230404.g1N44Jp33770@apollo.backplane.com> To: Luigi Rizzo Cc: "David O'Brien" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc.diskless1 rc.diskless2 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> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG : :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. 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message