Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 12:18:45 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        questions@freebsd.org
Subject:   wiping a partition
Message-ID:  <16426.25589.873525.703043@jerusalem.litteratus.org>

next in thread | raw e-mail | index | archive | help

	I've gotten into a wierd situation where the best course seems
to be wipe a (BSD) partition - without chnaging the size or location
- and then restoring from backup.
	Based on the Handbook (sec. 12.3.2) the correct would seem to
be:

	make backup
	cd /
	dd if=/dev/zero of=/dev/da1 bs=1k count=1
	newfs -O 2 -U /dev/da1e
	restore from backup

	Have I overlooked anything?


					Robert Huff




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