Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 2000 03:47:52 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Poul-Henning Kamp <phk@freebsd.org>
Cc:        arch@freebsd.org
Subject:   Re: inheriting the "nodump" flag ?
Message-ID:  <3A336D68.2B454829@elischer.org>
References:  <97286.976447504@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> 
> I don't know how many of you know or even use the "nodump" file flag.
> 
> It's utility is somewhat limited by the fact that it is not
> inherited from the parent directory.
> 
> I like to mark my cvs tree as "nodump", there is no point in backing
> it up for me.
> 
> Unfortunately, since the nodump flag is not inherited on creation
> I need to run "chflags -R nodump /home/ncvs" first every time I want
> to make a backup.
> 
> I would like to propose that directories and files inherit the
> nodump flag if it is set on the directory they are created in.
> 
> Comments ? protests ?

I thought that it was supposed to stop the tree walker from walking
down through the tree beyond that point if it is on a directory..

in other words, if you set it on a directory it is supposed to 
'prune' the entire tree.. sounds like a problem with the 
tree walker rather than the kernel. 

You are supposed to be able to set it on a directory,
do a backup, change your mind later, and unset it and have the next run 
recurse all the way down the tree.

> 
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-arch" in the body of the message

-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000
---> X_.---._/  presently in:  Budapest
            v


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A336D68.2B454829>