From owner-freebsd-hackers Tue Feb 9 13:29:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA10086 for freebsd-hackers-outgoing; Tue, 9 Feb 1999 13:29:38 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA10069 for ; Tue, 9 Feb 1999 13:29:29 -0800 (PST) (envelope-from mark.hannon@stockholm.mail.telia.com) Received: from d1o1.telia.com (root@d1o1.telia.com [195.67.240.241]) by mailb.telia.com (8.8.8/8.8.8) with ESMTP id WAA24704 for ; Tue, 9 Feb 1999 22:29:27 +0100 (CET) Received: from doorway.home.lan (t8o1p15.telia.com [195.67.241.195]) by d1o1.telia.com (8.8.8/8.8.5) with ESMTP id WAA10311 for ; Tue, 9 Feb 1999 22:29:25 +0100 (CET) Received: from stockholm.mail.telia.com (putte.home.lan [192.168.255.2]) by doorway.home.lan (8.8.8/8.8.7) with ESMTP id WAA04645; Tue, 9 Feb 1999 22:11:07 +0100 (CET) (envelope-from mark.hannon@stockholm.mail.telia.com) Message-ID: <36C0A3C4.E9CDA301@stockholm.mail.telia.com> Date: Tue, 09 Feb 1999 22:08:20 +0100 From: Mark Hannon X-Mailer: Mozilla 4.06 [en] (Win98; I) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: Change to inherit nodump flag? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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