xfs
[Top] [All Lists]

Re: xfsdump, fs-attr "d" & directories

To: David Brown <davidb@xxxxxxxxxx>
Subject: Re: xfsdump, fs-attr "d" & directories
From: Linda Walsh <xfs@xxxxxxxxx>
Date: Mon, 23 Jan 2006 18:16:48 -0800
Cc: Linux-Xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20060123205131.GA19438@old.davidb.org>
References: <43D53CCA.3010808@tlinx.org> <20060123205131.GA19438@old.davidb.org>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)


David Brown wrote:

On Mon, Jan 23, 2006 at 12:30:02PM -0800, Linda Walsh wrote:


I was wondering, regarding the "d" attribute on files.
It says it specifies not to dump the specific file.
Is support for marking directories non-dumpable planned?


The 'd' attribute on directories will be inherited by any new files or
directories that are created under it.

To start, you'll want to do a recursive set of the attribute 'chattr -R'.
Once you set the attribute on the directory, newly created entities will
also get it.

Be sure to also specify '-e' to xfsdump.


---
   Thanks!  That inherited 'd' is an interesting behavior.
Is it new? Where would it have been documented for me to
have looked it up myself?  Don't see it under my 'chattr' or
'xfsdump' man pages (though they might be dated...)  Thanks
again!

Linda


<Prev in Thread] Current Thread [Next in Thread>