zfs only mounting "root" after reboot

Thomas Schweikle tschweikle at gmail.com
Sun Aug 17 01:27:47 UTC 2014


On 17.08.2014 02:37, Benjamin Kaduk wrote:
> On Sat, 16 Aug 2014, Thomas Schweikle wrote:
> 
>> I think this shall be mentioned in the FreeBSD handbook, but
>> couldn't find any hint to it. Is it a bug with zfs mounting? Is it
>> intended to have zfs mounts happen before working on fstab mounts?
>> If not, it could be useful to make more clear what happens and that
>> you *must* mark filesystems depending on /tmp, /usr or /var to mount
>> "late"!
> 
> Traditionally, filesystem implementations have not had dependencies on the
> presence of other filesystems in the mount hierarchy.  It is completely
> unsurprising that the documentation does not cover such behavior.
> 
> Do you have notes handy for why fdesc and linproc have such dependencies
> and what they are?

linprocfs -- linux compatible /proc filesystem. It is necessary for
some tools from the linux world you'd like to have running under
FreeBSD. It is merely the same as what FreeBSD has at /proc and is
mounted at /usr/compat/linux/proc (which is linked to
/compat/linux/proc traditionaly). Both deliver the same information,
but with different hierarchy.

fdescfs -- file descriptor filesystem. This provides access to the
per process file descriptors in the global file system namespace. It
is normally mounted at /dev/fd.

There are some other pseudo filesystems you may or may not need to
mount them -- it depends on what programs you run ...! Some of them
mount to /usr/compat, some to /dev (some of them then link to
/usr/compat/<somename> -- these need /usr to be mounted).

-- 
Thomas


More information about the freebsd-fs mailing list