Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2014 20:36:49 +0100
From:      krad <kraduk@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   mount a local filesystem after zfs but before network is up
Message-ID:  <CALfReyeorNcgohyQcpm3DfR6VyLpjZ781XtpwcxNNZpkqOMr6g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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(



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