[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Behaviour of "nodump" flag on directories
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Behaviour of "nodump" flag on directories
- From: Jurjen Oskam <jurjen_(_at_)_stupendous_(_dot_)_org>
- Date: Tue, 12 Apr 2005 09:02:35 +0200
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
On Mon, Apr 11, 2005 at 10:40:20PM -0400, Ted Unangst wrote:
[nodump flag on directories]
> not that i use dump, but doesn't using -h 0 do exactly what you want?
It wouldn't, because the difference between the OpenBSD dump and the
(Net|Free)BSD dump is how they interpret the nodump flag on a directory.
Assume that in all cases -h 0 is used. When FreeBSD dump encounters a
directory with the nodump flag, it won't descend into it. This means
that no files in that directory will get backed up, it doesn't matter
whether the files in that directory have a nodump flag or not.
When OpenBSD dump encounters a directory with the nodump flag, it *will*
descend into that directory. Whether the files in that directory get dumped
*does* depend on the individual nodump flag of each individual file.
I'm just curious whether this was done for security reasons.
Visit your host, monkey.org