Partitioning with gpart or old style slices?
rsimmons0 at gmail.com
Sun Jun 5 08:25:31 UTC 2011
On Sun, Jun 5, 2011 at 3:35 AM, <perryh at pluto.rain.com> wrote:
> Robert Simmons <rsimmons0 at gmail.com> wrote:>
>> > How do I wipe the whole thing in one go so that I can start
>> > afresh?
>> > gpart destroy ad4 ??
>> Yes, but first you must delete all of the slices/partitions.
>> Think of it this way: you must go backwards down the path you
>> just came with a delete for each add, then a destroy for each
> So there is no way to just say "clean up this whole disk" in a
> single operation? That seems a considerable step backwards,
> given that the old tools have "fdisk -i" and "bsdlabel -w".
I've never had to use it, but I think "gpart destroy -F ad4" is what
you are looking for, so I guess it is not necessary to step backwards
More information about the freebsd-questions