summaryrefslogtreecommitdiff
path: root/sbin/dump/dump.8
diff options
context:
space:
mode:
authorVadim Zhukov <zhuk@cvs.openbsd.org>2013-04-04 10:47:22 +0000
committerVadim Zhukov <zhuk@cvs.openbsd.org>2013-04-04 10:47:22 +0000
commit70f76c554e3a91433febb2e1527d71be0e984aa1 (patch)
tree6af0dd1f36e85d23634a2f7f648c88f90fed85a8 /sbin/dump/dump.8
parentccafd412b8c006f8ab4ba859149a20d28464a21c (diff)
Make our dump(8) honour the "nodump" flag for directories, effectively
disabling dumping their contents. input and ok otto@ millert@ man page bits input and ok jmc@
Diffstat (limited to 'sbin/dump/dump.8')
-rw-r--r--sbin/dump/dump.88
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8
index ed12be9439d..59f442d4a2b 100644
--- a/sbin/dump/dump.8
+++ b/sbin/dump/dump.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dump.8,v 1.44 2008/01/26 23:07:55 jmc Exp $
+.\" $OpenBSD: dump.8,v 1.45 2013/04/04 10:47:21 zhuk Exp $
.\" $NetBSD: dump.8,v 1.17 1997/06/05 11:15:06 lukem Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -31,7 +31,7 @@
.\"
.\" @(#)dump.8 8.1 (Berkeley) 6/16/93
.\"
-.Dd $Mdocdate: January 26 2008 $
+.Dd $Mdocdate: April 4 2013 $
.Dt DUMP 8
.Os
.Sh NAME
@@ -85,6 +85,10 @@ flag using
.Xr chflags 1 ,
settable only by the file's owner or the superuser.
Files with this flag set will only be dumped during full backups.
+When set on a directory,
+.Dq nodump
+effectively deselects the whole subtree from being dumped,
+though it will still be scanned.
See also the
.Fl h
option, below.