mount a local filesystem after zfs but before network is up
krad
kraduk at gmail.com
Wed Aug 6 19:48:29 UTC 2014
accomplished with a wrapper around dhclient. However it would good to be
able to specify a file system that is mounted after zfs but before the
network initialization
On 6 August 2014 20:36, krad <kraduk at gmail.com> wrote:
> I have a small issue in that I want to mount a tmpfs file system under
> /var/$PATH at boot via the fstab
>
> Normally this is no problem, however the system is zfs and tmpfs is
> classed as a criticallocal filesystem in rc land and is therefore mounted
> before the zfs file systems are mounted, before the real multiuser var is
> mounted
>
> $ grep -i require: /etc/rc.d/zfs
> # REQUIRE: mountcritlocal
>
> Is there anyway around this other than hacking up rc, or putting /var on
> the root filesystem?
>
> extra_netfs_types is no use as i need it mounted before the network comes
> up
>
> I feel a lot of rc trawling maybe required tomorrow 8(
>
More information about the freebsd-questions
mailing list