Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2013 15:57:10 -0700
From:      Sean Bruno <sean_bruno@yahoo.com>
To:        freebsd-fs@freebsd.org
Subject:   zfs mount prior to rc.conf evaluations
Message-ID:  <1376953030.1483.4.camel@localhost>

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

--=-2Y6I1n8QJQbTaWge+GeU
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

We have a few slightly goofy rc.conf variables that require /usr/bin/ to
be mounted before rc.conf is evaluated, e.g:

netwait_ip=3D"$(grep default /etc/start_if.* | awk '{print $4}')"

This worked in our UFS world, but in ZFS land with zroot/usr/bin being a
seperate mountpoint, its not mounted at the point that rc.conf is
evaluated causing a few things to fail.

This appears to be solved by applying
http://www.freebsd.org/cgi/query-pr.cgi?pr=3D153666

But, is there a better way to do this?  I *could* make zroot/usr and
zroot/usr/bin just be part of zroot and not seperate mountpoints to
solve the issue as well.

Thoughts or alternative solutions?

Sean

--=-2Y6I1n8QJQbTaWge+GeU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (FreeBSD)

iQEcBAABAgAGBQJSEqK7AAoJEBkJRdwI6BaHUn0H/3erz9gXbTQ/wgLUjyHLA5+b
0RhBf6t4zGnjlD3MBuDblzLh1jCtl4P4BqBMJAzBNX0+lHFodlf5oYIepZYKU+A+
Qv79b2OX3q3Ff0R/5w4kI4CTYS0j1iS8dm4VhMXhZooz7lB+vIuMbTD4aD7nihFV
qL8t40VSxCRnwKn8m3Z61HNLOXItyMKsCSdNUk16Rce9RQKILfNIVRsJA2aE6kTt
406rCdAcKru/Z83TuAjfJwprvLLSb+YMz5zPF89SGjmgJfRm2Q9GHyJul69YxeFh
PNFBsP8E+eRaspt5MAuvN9EkLmSkFQ8lWEHqBwjmEYB3GvuUjWQckYnaRrU8pmU=
=QKnP
-----END PGP SIGNATURE-----

--=-2Y6I1n8QJQbTaWge+GeU--




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