HomeFreeBSD

Create an 'overlay' property

Description

Create an 'overlay' property

Add a new 'overlay' property (default 'off') that controls whether the
filesystem should be mounted even if the mountpoint is busy or if it
should fail with a 'mountpoint not empty'.

Doing overlay mounts is the default mount behavior on Linux, but not
in ZFS. It have been decided that following the ZFS behavior should
be the default, but this overlay allows for site administrator to
override this decision on a per-dataset basis.

Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes: #2503

Details

Provenance
Turbo Fredriksson <turbo@bayour.com>Authored on Jul 25 2014, 10:42 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 15 2014, 8:39 PM
Parents
rG194e56234a58: Include sys/taskq.h in linux/vfs_compat.h
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGf67d709080f3: Create an 'overlay' property (authored by Turbo Fredriksson <turbo@bayour.com>).Aug 15 2014, 8:39 PM