On Mon, 2019-07-01 at 16:10 +0200, Thomas Lange wrote: > You can write a simple hook, which is then executed before > task_partition. Therefore, create a shell script > hooks/partition.DEFAULT
Hey, Here is what I have as hooks/partition.WIPEDISKS it'll stop any MDs or VGs that were started by the kernel and eradicate anything from the disks. Based on a hook written by W. Walkowiak in 2013, but modified over the years to fix various new behaviours I've discovered. Save the file, set a class of WIPEDISKS and, well, all your data will be gone. ;) Cheers, Andrew -- Andrew Ruthven, Wellington, New Zealand and...@etc.gen.nz | linux.conf.au 2020, Gold Coast, AU Catalyst Cloud: | https://lca2020.linux.org.au/ https://catalystcloud.nz |
partition.WIPEDISKS
Description: application/shellscript