cvs commit: src/share/examples/diskless clone_root
Brooks Davis
brooks at one-eyed-alien.net
Thu Sep 23 12:12:59 PDT 2004
On Thu, Sep 23, 2004 at 12:05:43PM -0700, Luigi Rizzo wrote:
> On Thu, Sep 23, 2004 at 03:52:43PM +0000, Brooks Davis wrote:
> ...
> > Hack around the fact that the current diskless scripts require some
> > binaries in /usr before /usr is mounted by copying those files to the
>
> this was fixed long ago, did the problem reappear somehow ?
> in case, the proper place to fix is the scripts in /etc/rc*, not
> put a bandaid here which has high chances of being broken again.
The problem is that currently there is no way to populate /var without a
minimum of mtree which lives in /usr. Since /var is supposed to exist
before we mount /usr there's a dependency problem. We should be able
to fix the mtree dependency now that bsdtar is available since we could
install a pax archive derived from the mtree file. We also strongly
desire the creation of syslog files which currently requires newsyslog.
The requirement for touch might be removable but I haven't really tried
since the others are more fundamental.
My personal opinion is that there isn't a whole lot of reason to
configure a diskless system where / and /usr aren't on the same FS so I
never hit this problem on my own systems.
-- 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/cvs-src/attachments/20040923/a79d76e2/attachment.bin
More information about the cvs-src
mailing list