reduce partition size. HELP

perryh at pluto.rain.com perryh at pluto.rain.com
Sun Jan 1 07:12:59 UTC 2012


Polytropon <freebsd at 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.


More information about the freebsd-questions mailing list