Date: Thu, 16 Jan 2014 19:34:35 +0200 From: Vitaly Magerya <vmagerya@gmail.com> To: freebsd-rc@freebsd.org Subject: Why does rc.d/tmp require 'mountcritremote'? Message-ID: <52D8182B.6030602@gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, folks. In one particular setup I use tmpmfs, but I also have links from /var into /tmp, so I need rc.d/tmp to be executed before rc.d/var (or at least, before rc.d/SERVERS). This however, appears to be impossible: rc.d/tmp requires 'mountcritremote', which then requires 'var' through a series of dependencies. So my question is: why does rc.d/tmp require 'mountcritremote'? Can we change it to 'mountcritlocal' or some such? I've looked into commit logs, and this requirement was introduced in revision 153028 [1]; the commit log says: "Brooks pointed out a case where tmp needs to be run after mountcritremote, so force it the other way instead.". Anyone knows what case is this? For the reference, rc.d/var, which, just like rc.d/tmp, creates an md-backed filesystem, only requires 'mountcritlocal' and 'zfs'. [1] https://svnweb.freebsd.org/base?view=revision&revision=153028
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D8182B.6030602>
