On Tue, Jul 16, 2013 at 1:44 PM, aurfalien <[email protected]> wrote:
> Upon doing;
>
> gpart destroy da0
>
> I get;
>
> gpart: Device busy
crude but effective:
DISK=da0
offset=`diskinfo $DISK | awk '{ print $4 - 131072 }'`
dd if=/dev/zero of=/dev/$DISK bs=64k count=1
dd if=/dev/zero of=/dev/$DISK bs=64k seek=$offset
gpart create -s gpt ${DISK}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"