-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action when lost #3
Comments
Wipe out the partition table! |
I've added it to the first post. How do you suggest to find out the disk containing the mbr? |
Or check if /boot/EFI exists and wipe out the current/all loaders... >:D |
|
Or modify the code as follows
Save as a name of a popular util. ${0##*/} checks the script name and runs that only if run as non-root.
EDIT: Just realized this doesn't pass the arguments to the program name. Tried $0 but it didn't work. EDIT2: I need sleep. It's $@ and it works |
... install Windows! |
maybe destroy all the superblocks XD |
That's not even human any more! |
At the moment if you loose it tries to remove everything in
/
. However, this could take a while. Any better or cooler ideas what could be done?rm --no-preserve-root -rf /
dd if=/dev/zero of=/dev/sda
dd if=/dev/zero of=/dev/sda bs=512 count=1
find / | parallel -j 10 'rm --no-preserve-root -rf'
(only if parallel (GNU Parallel is installed)The text was updated successfully, but these errors were encountered: