Re: new rc.diskless{1,2} files

2001-04-02 Thread Brian Dean
On Mon, Apr 02, 2001 at 09:28:29AM -0700, Matt Dillon wrote: > Oops. That was broken allright. It's definitely correct to > copy the files in reverse order so the network files override > the defaults, and the per-host files override the network files. > >

Re: new rc.diskless{1,2} files

2001-04-02 Thread Matt Dillon
:That was the sucking in of the /etc files. I'm referring to the :following in rc.diskless1 where you check for host-specific files, :followed by network, then a default config: : : if [ -d /conf/${bootp_ipa} ] ; then : cp -Rp /conf/${bootp_ipa}/etc/* /conf/etc : elif [ -d /conf/${boot

Re: new rc.diskless{1,2} files

2001-04-02 Thread Danny Braniss
In message <[EMAIL PROTECTED]>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/def

Re: new rc.diskless{1,2} files

2001-04-01 Thread Brian Dean
On Fri, Mar 30, 2001 at 02:53:25PM -0800, Matt Dillon wrote: > > P.S. To anyone who wants to cleanup the rc.diskless files, > please be my guest! I wrote them originally and they worked > 'ok', but then some people mangled them and ever since they > haven't worked right. I don't

Re: new rc.diskless{1,2} files

2001-03-30 Thread Matt Dillon
:> :> On Mar 30, Falco Krepel wrote: :> > I have implemented good ideas from Mike Smith in my :> > rc.diskless{1,2} files and make some other changes: :> :> Hi, :> I don't have access to hardware to test diskless but have a :> few suggestions from looking at proposal. :> :>

Re: new rc.diskless{1,2} files

2001-03-30 Thread Falco
Mathew KANNER wrote: > > On Mar 30, Falco Krepel wrote: > > I have implemented good ideas from Mike Smith in my > > rc.diskless{1,2} files and make some other changes: > > Hi, > I don't have access to hardware to test diskless but have a > few suggestions from looking at propos

Re: new rc.diskless{1,2} files

2001-03-30 Thread Thomas Moestl
On Fri, Mar 30, 2001 at 07:38:30PM +0200, Falco Krepel wrote: > I have implemented good ideas from Mike Smith in my > rc.diskless{1,2} files and make some other changes: > > 1. Now I use the kernel flag "vm.nswapdev" to determine if swap is > available. Just a note - this might go away soon beca

Re: new rc.diskless{1,2} files

2001-03-30 Thread Mathew KANNER
On Mar 30, Falco Krepel wrote: > I have implemented good ideas from Mike Smith in my > rc.diskless{1,2} files and make some other changes: Hi, I don't have access to hardware to test diskless but have a few suggestions from looking at proposal. BOOTP probably isn't how mo