Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Mar 2001 19:11:15 -0800
From:      Dima Dorfman <dima@unixfreak.org>
To:        Warner Losh <imp@harmony.village.org>
Cc:        audit@FreeBSD.ORG
Subject:   Re: Propagating the nodump flag 
Message-ID:  <20010303031115.7AEFB3E0C@bazooka.unixfreak.org>
In-Reply-To: <200103020736.f227avd55031@harmony.village.org>; from imp@harmony.village.org on "Fri, 02 Mar 2001 00:36:57 -0700"

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@harmony.village.org> writes:
> In message <20010301041234.9F3D63E09@bazooka.unixfreak.org> Dima Dorfman writ
> es:
> : Comments?  Reviews?
> 
> These patches look generally good.  I didn't check them for perfect
> accuracy because they touch a part of dump that makes my head hurt
> every time I look at the code.  It seems reasonable to me.

Thanks, Warner.  I've also attached a manual page update which I
accidently left out of the patch I posted.  The updated patch can be
found at http://www.unixfreak.org/~dima/home/nodump2.diff; the only
difference is the update to the man page.

If someone could commit this, I'd appreciate it.

Thanks again

					Dima Dorfman
					dima@unixfreak.org


Index: dump.8
===================================================================
RCS file: /st/src/FreeBSD/src/sbin/dump/dump.8,v
retrieving revision 1.31
diff -u -r1.31 dump.8
--- dump.8	2000/12/18 15:16:10	1.31
+++ dump.8	2001/03/03 03:03:44
@@ -243,6 +243,20 @@
 .El
 .Pp
 .Nm Dump
+honors the user
+.Dq nodump
+flag
+.Pq Dv UF_NODUMP
+on regular files and directories.  If a directory is marked
+.Dq nodump ,
+the latter and all files and directories under it will not be backed
+up.  That is,
+.Nm
+propagates the
+.Dq nodump
+flag on directories.
+.Pp
+.Nm Dump
 requires operator intervention on these conditions:
 end of tape,
 end of dump,

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010303031115.7AEFB3E0C>