Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jan 2012 06:00:57 -0800
From:      perryh@pluto.rain.com
To:        freebsd@edvax.de
Cc:        kes-kes@yandex.ru, roberthuff@rcn.com, freebsd-questions@freebsd.org
Subject:   Re: reduce partition size. HELP
Message-ID:  <4f006719./AMuNtohIrbc9KiB%perryh@pluto.rain.com>
In-Reply-To: <20111231171538.fd1156fb.freebsd@edvax.de>
References:  <211353632.20111231040344@yandex.ru> <20222.32401.326222.536203@jerusalem.litteratus.org> <1112244537.20111231112327@yandex.ru> <alpine.BSF.2.00.1112310841430.50853@wonkity.com> <20111231171538.fd1156fb.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Polytropon <freebsd@edvax.de> wrote:

> 	# cd /var
> 	# dump -0 -L -a -u -f - /dev/ad0s1a | restore -r -f -
>
> Make sure /var does _not_ contain directory
> names identical to those found on the / partition!
> As I said, maybe use /scratch. :-)

Unless using a freshly newfs-ed partition, it will likely be safer
to use restore -x instead of -r; see the description of -r in the
restore(8) manpage.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f006719./AMuNtohIrbc9KiB%perryh>