zfs mount prior to rc.conf evaluations

Sean Bruno sean_bruno at yahoo.com
Fri Sep 20 18:45:42 UTC 2013


On Mon, 2013-08-19 at 15:57 -0700, Sean Bruno wrote:
> 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="$(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=153666
> 
> 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


anyone?

If there's no real objection, I don't see the harm in committing this.

Sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20130920/0ed8815a/attachment.sig>


More information about the freebsd-fs mailing list