Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 12:15:38 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/share/examples/diskless clone_root
Message-ID:  <20040923191538.GG25699@odin.ac.hmc.edu>
In-Reply-To: <20040923120543.B72856@xorpc.icir.org>
References:  <200409231552.i8NFqh1c042744@repoman.freebsd.org> <20040923120543.B72856@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--HB4mHL4PVvkpZAgW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> 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

--=20
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

--HB4mHL4PVvkpZAgW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBUyDZXY6L6fI4GtQRAkJaAJ4rx1g0xdfEEbHUyc9XcNHSP8/YkQCeJNbG
M+cANuhJkSvx3FybtoZYYyw=
=zBS3
-----END PGP SIGNATURE-----

--HB4mHL4PVvkpZAgW--



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