diff options
author | daichi <daichi@FreeBSD.org> | 2007-10-14 13:55:38 +0000 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2007-10-14 13:55:38 +0000 |
commit | b4e293afdf72162137b2dba22113a5ee64c72c99 (patch) | |
tree | 2c0a8dc097e870c563dc170664ef755488256a67 /sbin/mount_unionfs | |
parent | 7759a8a0eb0499316da250fbc2b12c0de2134cc7 (diff) | |
download | FreeBSD-src-b4e293afdf72162137b2dba22113a5ee64c72c99.zip FreeBSD-src-b4e293afdf72162137b2dba22113a5ee64c72c99.tar.gz |
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
Diffstat (limited to 'sbin/mount_unionfs')
-rw-r--r-- | sbin/mount_unionfs/mount_unionfs.8 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/mount_unionfs/mount_unionfs.8 b/sbin/mount_unionfs/mount_unionfs.8 index d574491..4f661b8 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 |