summaryrefslogtreecommitdiffstats
path: root/man/man8
diff options
context:
space:
mode:
authorTurbo Fredriksson <[email protected]>2014-07-25 12:42:00 +0200
committerBrian Behlendorf <[email protected]>2014-08-15 13:39:19 -0700
commitf67d709080f3d4a247191f0d25cbedc5da103f78 (patch)
tree5050bf2725b9ed94387e6901ea30325e0a16c1ae /man/man8
parent194e56234a58fa39c22aada5210f06ddf62c69d5 (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes: #2503
Diffstat (limited to 'man/man8')
-rw-r--r--man/man8/zfs.811
1 files changed, 11 insertions, 0 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8
index 96cac6f5a..8b22c5af4 100644
--- a/man/man8/zfs.8
+++ b/man/man8/zfs.8
@@ -1409,6 +1409,17 @@ This flag sets the SELinux context for unlabeled files. See \fBselinux\fR(8) fo
This flag sets the SELinux context for the root inode of the filesystem. See \fBselinux\fR(8) for more information.
.RE
+.sp
+.ne 2
+.mk
+.na
+\fB\fBoverlay\fR=\fBon\fR | \fBoff\fR\fR
+.ad
+.sp .6
+.RS 4n
+Allow mounting on a busy directory or a directory which already contains files/directories. This is the default mount behavior for Linux filesystems. However, for consistency with ZFS on other platforms overlay mounts are disabled by default. Set \fBoverlay=on\fR to enable overlay mounts.
+.RE
+
.SS "Temporary Mount Point Properties"
.LP
When a file system is mounted, either through \fBmount\fR(8) for legacy mounts or the \fBzfs mount\fR command for normal file systems, its mount options are set according to its properties. The correlation between properties and mount options is as follows: