[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Behaviour of "nodump" flag on directories



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. 

-- 
Jurjen Oskam



Visit your host, monkey.org