diff --git a/drivers/util.py b/drivers/util.py index 50c9a5a86..5a91e0170 100755 --- a/drivers/util.py +++ b/drivers/util.py @@ -637,6 +637,10 @@ def zeroOut(path, fromByte, bytes): return True +def wipe(blockdev): + "Wipe filesystem signatures from `blockdev`" + + def match_rootdev(s): regex = re.compile("^PRIMARY_DISK") return regex.search(s, 0)