This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# This code works for dagolden, based on a program originally by rjbs. It | |
# might not work for you. You are hereby empowered to do anything you want | |
# with this code, including fixing its bugs and redistributing it with your | |
# own license and API and whatever you want. It'd be nice if you mentioned | |
# dagolden and rjbs in your fork, but if you don't want to, that's just fine. | |
# | |
# The only thing you can't do is act like there's some guarantee that this | |
# code will actually work or even refrain from blowing stuff up. You're on | |
# your own. -- rjbs, 2014-04-23 and dagolden, 2016-07-06 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ksh93 | |
# This script only wipe same-sized disks for now | |
SIZE="10000831348736" | |
LAST_PART=`echo "($SIZE / 1024 / 1024) - 10" | /usr/bin/bc` | |
# List of disks to wipe | |
DRIVES="c0t5000CCA26BD0CAFAd0p0 c0t5000CCA26BD116ACd0p0 c0t5000CCA26BD59F6Dd0p0 c0t5000CCA26BD5AAC5d0p0 | |
c0t5000CCA26BD6960Ed0p0 c0t5000CCA26BD6B9CCd0p0 c0t5000CCA26BD6C6D4d0p0 c0t5000CCA26BD6E59Cd0p0" |