initdiskless/rc.diskless1

Brooks Davis brooks at one-eyed-alien.net
Fri Mar 5 16:57:30 PST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040305/a48f3c82/attachment.bin


More information about the freebsd-current mailing list