Antoine Jacoutot <[EMAIL PROTECTED]> wrote on 15/03/2007 17:16:31:

> On Thu, 15 Mar 2007, [EMAIL PROTECTED] wrote:
> > Trying to dump a filesystem with nodump flags on some folders results 
in
> > these folders been dumped anyway, even on higher level dump and even 
if I
> 
> Yes, you have to set the nodump flags recursively for all files under 
> those directories.
> ie. chflags -R nodump /path/to/dir

I set this and in fact it works. But that's strange compared to the other 
BSDs and Linux in which the nodump flags on a directory exclude the entire 
sub-tree.

This also means that every time I want to dump a fs I have to reset the 
nodump flags for all the files in those directories I don't want to 
include as newer files won't keep that.

> Also don't forget the '-h 0' flag fo dump(8) if you don't want any 
> backup at all on those dirs.

I'm using this flag, but I didn't expect this non-recursive behaviour of 
dump.

Thank you.
D.

Reply via email to