Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 1999 22:08:20 +0100
From:      Mark Hannon <mark.hannon@stockholm.mail.telia.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Change to inherit nodump flag?
Message-ID:  <36C0A3C4.E9CDA301@stockholm.mail.telia.com>

next in thread | raw e-mail | index | archive | help
Hi,
I dump some of my filesystems to my (small) floppy tape drive as backup.

This works quite well as long as I only dump my own data files.  To
avoid
dumping easily recoverable files I run a script which runs:

    chflags -R nodump /home/ncvs
    chflags -R nodump /home/freebsd-src
    chflags -R nodump /home/freebsd-obj

prior to starting the dump.  As you can imagine this traversal of the
tree
is a time consuming affair.  As a way around this I thought maybe the
nodump flags could be made inheritable, ie I would only need to set
nodump on the parent directory and then all subdirs and files would
also get nodump marked.  Is this a good idea?

I had a quick look in the code and I am guessing that I should implement

such a change in:

    /sys/ufs/ufs/ufs_vnops.c in functions ufs_makeinode & ufs_mkdir

Is this where the functionality should be implemented?

Regards/Mark


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36C0A3C4.E9CDA301>