Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2003 23:01:04 +0000
From:      Scott Mitchell <scott+freebsd@fishballoon.org>
To:        Dick Hoogendijk <dick@nagual.st>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: dump exept "dir"
Message-ID:  <20030301230104.GA64302@tuatara.fishballoon.org>
In-Reply-To: <20030301175610.GA16704@pooh.nagual.st>
References:  <20030301175610.GA16704@pooh.nagual.st>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 01, 2003 at 06:56:10PM +0100, Dick Hoogendijk wrote:
> I want to dump a mountpoint *EXEPT* for a specific directory (a vmware
> windows machine). The manual talks about skipping inodes (or the
> directory inode) but I'm a bit confused on this matter.
> 
> How exactly do I skip a complete directory in dump?

Check out the 'nodump' option to chflags(8) and the '-h' option to dump.
You should be able to set the nodump flag on your vmware directory and have
dump ignore it and everything below it.  You'll need to specify '-h0' on
the dump command line for nodump to be honoured for a level 0 dump.

Cheers,

	Scott

-- 
===========================================================================
Scott Mitchell           | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England       | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |      -- Anon

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




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