Mikael wrote:
> The script below includes extra considerations to see through any kernel
> caching of the disklabel, by rebooting between every relevant step.
> 
> "dd if=/dev/srandom of=/dev/rwd0e bs=1024 count=1" does also wipe the
> disklabel.
> 
> "dd if=/dev/srandom of=/dev/wd0a bs=1024 count=1" does not wipe the
> disklabel.

> 16 partitions:
> #                size           offset  fstype [fsize bsize  cpg]
>   a:       3907008000            16065    RAID
>   c:       3907029168                0  unused
>   e:            16001               64    RAID

yes, if you overwrite the disklabel (which lives at the start of the disk) you
will wipe it. don't do that.

Reply via email to