-
Committer:
Scott Moser
-
Date:
2015-05-15 16:44:54 UTC
-
Revision ID:
smoser@ubuntu.com-20150515164454-0jocls0ye11ufr7v
add and use wipe_partitions, improve wipedev
instead of using sgdisk --zap-all and wipefs, use 'wipedev'.
For partitions, we can now use:
wipe_partitions /dev/vdb 1
which will wipe the beginning of the partition without
triggering a REREADPT that wipefs would do.
I believe the wipefs call was the reason for the race condition
seen in LP: #1443542.