From owner-freebsd-questions Wed Mar 7 16:57: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id B417B37B719 for ; Wed, 7 Mar 2001 16:57:04 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 79949 invoked by uid 100); 8 Mar 2001 00:57:03 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15014.55519.201567.162530@guru.mired.org> Date: Wed, 7 Mar 2001 18:57:03 -0600 To: Mark Ibell Cc: questions@freebsd.org Subject: Re: Questions about dump/restore In-Reply-To: <72080146@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Ibell types: > Just curious if there were any plans to upgrade FreeBSD's dump to > support the dumping of selected dirs/files within a filesystem rather > than the entire filesystem. This option is available in > OpenBSD/NetBSD/Solaris dump and would be useful. I haven't seen any such plans. Given the restrictions that OpenBSD and NetBSD place on this facility, it's not usable as part of a backup strategy, so I'm not convinced it "would be useful". The only thing I can see doing with it is making a one-time dump of something with non-file nodes in it that make the other archives (tar, cpio, pax) choke. However, if you want it, the best way to get it is to integrate the Net or Open versions into the Free version yourself, then send-pr a patch file. If you're simply trying to avoid dumping certain things, check out the chflags(1) command, particularly the nodump flag; and the -h flag to dump. > Also, is there any reason why restore creates symbolic links with mode > 'lrwx------' when the dumped file had mode 'lrwxr-xr-x'? Because the mode of the symbolic link is ignored by everything. Getting and storing the mode of a symlink requires extra work, and there's no reason to do that work. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message