From f67d709080f3d4a247191f0d25cbedc5da103f78 Mon Sep 17 00:00:00 2001 From: Turbo Fredriksson Date: Fri, 25 Jul 2014 12:42:00 +0200 Subject: 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 Signed-off-by: Brian Behlendorf Closes: #2503 --- include/sys/fs/zfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h index 227d8b2fb..d54cd5679 100644 --- a/include/sys/fs/zfs.h +++ b/include/sys/fs/zfs.h @@ -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; -- cgit v1.2.3