Date: Mon, 02 Apr 2001 17:18:35 +0200 From: Danny Braniss <danny@cs.huji.ac.il> To: Brian Dean <bsd@bsdhome.com> Cc: Falco <krepel@fokus.gmd.de>, Mathew KANNER <mat@cs.mcgill.ca>, Matt Dillon <dillon@earth.backplane.com>, freebsd-current@FreeBSD.ORG Subject: Re: new rc.diskless{1,2} files Message-ID: <E14k66F-0001ll-00@sexta.cs.huji.ac.il> In-Reply-To: Your message of Sun, 1 Apr 2001 23:15:36 -0400 .
next in thread | raw e-mail | index | archive | help
In message <20010401231536.F486@vger.bsdhome.com>you write: }I've found that one can reduce a lot of common file duplication by }reversing that logic, going after "default" first, then }"network-specific", finally followed by "host-specific" files: } } if [ -d /conf/default/etc/ ]; then } cp -Rp /conf/default/etc/* /conf/etc } fi } } if [ -d /conf/${bootp_ipbca} ] ; then } cp -Rp /conf/${bootp_ipbca}/etc/* /conf/etc } fi } } if [ -d /conf/${bootp_ipa} ] ; then } cp -Rp /conf/${bootp_ipa}/etc/* /conf/etc } fi } i like it!, since that's almost what i did here, but this morning couldn't remember why :-) as to using local disks, all our 'diskless' actualy have disk, im still in the design stage, since some of the have other os installed, some want to use the disk as scratch, some may need big swap ... danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E14k66F-0001ll-00>