xfs
[Top] [All Lists]

Re: chattr +d dir

To: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
Subject: Re: chattr +d dir
From: Bill Kendall <wkendall@xxxxxxx>
Date: Tue, 25 Jul 2006 12:00:50 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.64.0607231515530.30844@xxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.64.0607231515530.30844@xxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mail/News 1.5 (X11/20060228)
On 07/23/06 14:16, Justin Piszcz wrote:
I used the chattr +d option for no_dump for a certain directory, but it still appears xfsdump dumped the directory anyway?

Is there some special usage/way to make xfsdump NOT dump a certain directory?

Perhaps you have an older xfsdump. This was recently added to the
xfsdump man page:

       ticular  size.   Additionally,  when xfsdump is run with the -e option,
       files that are tagged with the "no dump" file  attribute  will  not  be
       included  in  the  dump.  The chattr(1) command can be used to set this
       attribute on individual files or entire subtrees.

       To tag an individual file for exclusion from the dump:

            $ chattr +d file

       To tag all files in a subtree for exclusion from the dump:

            $ chattr -R +d directory

       Note that any new files or directories created in a directory which has
       the  "no dump" attribute set will automatically inherit this attribute.
       Also note that xfsdump does not check directories  for  the  "no  dump"
       attribute.

Bill


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