HomeFreeBSD

Allow fake mounts to succeed on non-legacy filesystems.

Description

Allow fake mounts to succeed on non-legacy filesystems.

mountall in Debian depends on being able to pass the -f parameter to
mount, which specifies a fake mount and just updates the mtab. Currently
mount.zfs will fail such a request if it is not passed with -o zfsutil.

This patch allows a fake mount on a non-legacy filesystem to succeed in
the same manner as a -o remount does, thus enabling mountall to work
correctly.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1167

Details

Provenance
Will Rouesnel <w.rouesnel@gmail.com>Authored on Dec 27 2012, 2:44 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 7 2013, 7:30 PM
Parents
rG37f000c5aa76: Fix gcc array subscript above bounds warning
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG462ee8e3f3f1: Allow fake mounts to succeed on non-legacy filesystems. (authored by Will Rouesnel <w.rouesnel@gmail.com>).Jan 7 2013, 7:30 PM