Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2000 09:58:31 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: dhcp boot was: Re: diskless workstation 
Message-ID:  <200009211658.JAA00670@mass.osd.bsdi.com>
In-Reply-To: Your message of "Thu, 21 Sep 2000 10:15:19 %2B0300." <E13c0Zj-0001zL-00@sexta.cs.huji.ac.il> 

next in thread | previous in thread | raw e-mail | index | archive | help
> In message <200009210648.XAA02252@mass.osd.bsdi.com>you write:
> 
> }Mostly I guess I'd really like it to simply save *all* of the DHCP 
> }response in the environment.  Just "dhcp.xxx" where xxx is the parameter 
> }value would probably do it, or we can argue about names for everything if 
> }there aren't established names already.
> }
> what's in a name ;-)
> the dhcp.xxx stuff is easy, the problem is that the DHCP options are not
> enough, so im trying to look into defining a FBSDclass ala PXEClient, and
> supplying stuff like usr-ip/usr-path swap-ip/swap-path or whatever.

You don't need those; you can get them out of /etc/fstab.  In particular, 
the whole idea of passing the NFS swap details in at this stage is just 
*totally* bogus.

> }There should be no real problems with the lease, as most leases are more 
> }than long enough to boot the system anyway, so I wouldn't bother with 
> }that.
> }
> and this is not a MS system that needs allot of magic before it boots up ;-)

Correct.

Another thing that needs fixing is dhclient in the diskless case; if you 
run dhclient it kills the NFS mount for /, so that when it pages some 
more of itself in (or goes to run /bin/sh to run the dhclient-script) 
you're screwed...

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]




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




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