mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
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
This commit is contained in:
committed by
Brian Behlendorf
parent
194e56234a
commit
f67d709080
@@ -150,6 +150,7 @@ typedef enum {
|
||||
ZFS_PROP_SELINUX_ROOTCONTEXT,
|
||||
ZFS_PROP_RELATIME,
|
||||
ZFS_PROP_REDUNDANT_METADATA,
|
||||
ZFS_PROP_OVERLAY,
|
||||
ZFS_NUM_PROPS
|
||||
} zfs_prop_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user