Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-05-15 Thread Danny Braniss
> What do you think about doing a little more polishing and rolling a new > set of patches taking this /etc/rc.conf option into account? Your kernel > env dhcp variables are really good. i was thinking of adding something like this to dhcp: option FBSD.rc-conf "132.65.16.100:/c/conf/rc

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-25 Thread Andrew Gordon
On Wed, 24 Apr 2002, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > "David O'Brien" <[EMAIL PROTECTED]> writes: > : On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: > : > diskless_root_readonly="NO" # Make it "YES" for readonly > : > : good. > >

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-24 Thread Danny Braniss
> Danny, > > What do you think about doing a little more polishing and rolling a new > set of patches taking this /etc/rc.conf option into account? Your kernel > env dhcp variables are really good. I know that many do want to do what > you are doing (large scale RO /); but up until now /etc/rc.

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-24 Thread David O'Brien
Danny, What do you think about doing a little more polishing and rolling a new set of patches taking this /etc/rc.conf option into account? Your kernel env dhcp variables are really good. I know that many do want to do what you are doing (large scale RO /); but up until now /etc/rc.diskless* ha

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
> On Mon, 22 Apr 2002, David O'Brien wrote: > > > +if [ -z "`hostname -s`" ]; then > > +hostname=`kenv dhcp.host-name` > > +hostname $hostname > > +echo "Hostname is $hostname" > > +fi > > If you wanted to match the style for most of the rc* files, and

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
> Robert Watson wrote: > > I have't really used the diskless environment with 4.x, but use it > > extensively in my test/development environments for 5.0. Stateless > > workstations are great when it comes to file system debugging, especially > > since newfs is orders of magnitude faster than fsc

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
> Robert Watson wrote: > > This would provide full compatibility with the current model for those > > that want it (and I think it's more people than you think) at the same > > time as changing the system to provide easy support for the environment > > you're looking for. If the default settings

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Doug Barton
On Mon, 22 Apr 2002, David O'Brien wrote: > +if [ -z "`hostname -s`" ]; then > +hostname=`kenv dhcp.host-name` > +hostname $hostname > +echo "Hostname is $hostname" > +fi If you wanted to match the style for most of the rc* files, and avoid an unecessa

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
Robert Watson wrote: > I have't really used the diskless environment with 4.x, but use it > extensively in my test/development environments for 5.0. Stateless > workstations are great when it comes to file system debugging, especially > since newfs is orders of magnitude faster than fsck :-). TH

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Robert Watson
On Tue, 23 Apr 2002, Terry Lambert wrote: > Robert Watson wrote: > > This would provide full compatibility with the current model for those > > that want it (and I think it's more people than you think) at the same > > time as changing the system to provide easy support for the environment > > yo

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
Terry Lambert wrote: > configured by the green-and-which Systeam Adminstrator's Guide green-and-white System > for SunOS. Ugh. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
Robert Watson wrote: > This would provide full compatibility with the current model for those > that want it (and I think it's more people than you think) at the same > time as changing the system to provide easy support for the environment > you're looking for. If the default settings are changi

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
David O'Brien wrote: > > > The very original "solution" was to mount NFS / RW. The move to > > > /conf/default/etc was someone's special needs leaking into the FreeBSD > > > repository. If you want to special case, things be my guest -- add an > > > elif test; but leave RW NFS mounted / alone. >

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread David O'Brien
On Tue, Apr 23, 2002 at 08:32:51PM +0300, Danny Braniss wrote: > > On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: > > > diskless_root_readonly="NO" # Make it "YES" for readonly > > > > good. > > > > > diskless_etc_localmd="NO" # Make it "YES" to have the > >

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
> On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: > > diskless_root_readonly="NO" # Make it "YES" for readonly > > good. > > > diskless_etc_localmd="NO" # Make it "YES" to have the > > # diskless environment md-mount and replicate /etc from /conf > > Seems the

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread David O'Brien
On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: > diskless_root_readonly="NO" # Make it "YES" for readonly good. > diskless_etc_localmd="NO" # Make it "YES" to have the > # diskless environment md-mount and replicate /etc from /conf Seems the "if [ -d ]" t

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Robert Watson
On Tue, 23 Apr 2002, David O'Brien wrote: > On Tue, Apr 23, 2002 at 03:38:59AM -0700, Terry Lambert wrote: > > > > the 'original' solution is to make /etc writable is to mount a MD, then copy > > > > all > > > > /conf/default/etc to it. > > > > > > The very original "solution" was to mount NFS

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread David O'Brien
On Tue, Apr 23, 2002 at 03:38:59AM -0700, Terry Lambert wrote: > > > the 'original' solution is to make /etc writable is to mount a MD, then copy > > > all > > > /conf/default/etc to it. > > > > The very original "solution" was to mount NFS / RW. The move to > > /conf/default/etc was someone's s

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
David O'Brien wrote: > > / ( and whatever is under it) is NFS mounted read only, as should be. > > This is where all of us doing Sparc64 development say you are wrong -- / > is NFS mounted RW. Back in the SunOS diskless workstations days were > this was invented, / was NFS mounted RW. Please st

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread David O'Brien
On Tue, Apr 23, 2002 at 09:19:56AM +0300, Danny Braniss wrote: > > That being that some of us actually WANT /etc to be left the fsck alone. > > We NFS mount / and that / has /etc as it should be. I also cannot follow > > what you are trying to do with /etc/conf. Perhaps you could comment that >

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread Danny Braniss
> On Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote: > > Since im very interested in diskless/dataless, and i've been at it for some > > time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1 > > which i wouldn't mind receiving commnets/suggestions, and if possible > >

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread Danny Braniss
> I'll commit this to rc.diskless1 this will only work if you include the changes to bootp.c > > +if [ -z "`hostname -s`" ]; then > +hostname=`kenv dhcp.host-name` > +hostname $hostname > +echo "Hostname is $hostname" > +fi > > BUT you've missed the

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread David O'Brien
On Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote: > Since im very interested in diskless/dataless, and i've been at it for some > time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1 > which i wouldn't mind receiving commnets/suggestions, and if possible > incorpora

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread David O'Brien
On Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote: > Since im very interested in diskless/dataless, and i've been at it for some > time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1 > which i wouldn't mind receiving commnets/suggestions, and if possible > incorpora

FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread Danny Braniss
Haven't tried all the new stuff, but i've installed it on several different hosts and so far have had no real problems, good work!! Since im very interested in diskless/dataless, and i've been at it for some time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1 which i wouldn't