Re: initdiskless/rc.diskless1

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Fri, 5 Mar 2004 16:57:26 -0800
On Fri, Mar 05, 2004 at 01:41:25PM -0800, Luigi Rizzo wrote:
> Hi,
> as usual at this time of the year (starting heavy diskless usage in
> the labs) i am revising the diskless startup files.
> 
> As those interested know, directories in the client's root
> can be filled from a cpio archive, or missing that, by copying
> one of the server's directory. This has been changed  in rev 1.17
> to always use both (the directory first, the cpio archive after).
> I would like to rever this back to the old method, with the following
> motivation:
> 
>   + i introduced the cpio archive hack because in some cases (e.g.
>     paths with large delays), the separate NFS transactions for each
>     file was extremely time consuming.
>   + (less important) having files coming from two places makes it
>     harder to figure out where a given piece of the configuration
>     comes from.
> 
> Any objection ?

This seems reasionable to me, but I don't use the cpio feature.

> Also, I have one (rather trivial) patch that plan to commit, which
> lets you specify extra paths in /conf/ to fetch the configuration
> using the T134 bootp tag (available as kern.bootp_cookie).
> The tag could e.g. contain a name for client classes, boxes with
> different hardware, etc., making the configuration a lot more
> flexible. E.g.
> 
> 	T134="lab3 nvidia config6"
> 
> objections to this one too ?

That sounds useful.  Its much easier to do the grouping of hosts in the
dhcp server config then in the per-IP directories.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Received on Fri Mar 05 2004 - 15:57:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:46 UTC