wiping a partition

Robert Huff roberthuff at rcn.com
Wed Feb 11 09:18:48 PST 2004

	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

	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

More information about the freebsd-questions mailing list