aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_unionfs
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2007-10-14 13:55:38 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2007-10-14 13:55:38 +0000
commit20885def58e7afb8f151304a356c71eee3ce617b (patch)
tree2c0a8dc097e870c563dc170664ef755488256a67 /sbin/mount_unionfs
parent524f3f285d2c35bfbbab255f34bdfba8ec1cfcba (diff)
downloadsrc-20885def58e7afb8f151304a356c71eee3ce617b.tar.gz
src-20885def58e7afb8f151304a356c71eee3ce617b.zip
Added whiteout behavior option. ``-o whiteout=always'' is default mode
(it is established practice) and ``-o whiteout=whenneeded'' is less disk-space using mode especially for resource restricted environments like embedded environments. (Contributed by Ed Schouten. Thanks) Submitted by: Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer) Reviewed by: jeff, kensmith Approved by: re (kensmith) MFC after: 1 week
Notes
Notes: svn path=/head/; revision=172643
Diffstat (limited to 'sbin/mount_unionfs')
-rw-r--r--sbin/mount_unionfs/mount_unionfs.84
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/mount_unionfs/mount_unionfs.8 b/sbin/mount_unionfs/mount_unionfs.8
index d5744918e785..4f661b8bdd1b 100644
--- a/sbin/mount_unionfs/mount_unionfs.8
+++ b/sbin/mount_unionfs/mount_unionfs.8
@@ -98,6 +98,10 @@ For behavior of the
mode, see
.Sx MASQUERADE MODE
below.
+.It Sm Cm whiteout No = Cm always | whenneeded Sm
+Specifies whether whiteouts should always be made in the upper layer
+when removing a file or directory or only when it already exists in the
+lower layer.
.It Cm udir Ns = Ns Ar mode
Specifies directory mode bits in octal for
.Cm masquerade