hibernate_from_a_non_activate_swapfile_from_btrfs
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hibernate_from_a_non_activate_swapfile_from_btrfs [2020/12/16 14:16] – memeruiz | hibernate_from_a_non_activate_swapfile_from_btrfs [2021/02/01 05:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Hibernate from a non activate swapfile from btrfs ====== | ====== Hibernate from a non activate swapfile from btrfs ====== | ||
| + | |||
| + | *** Important! *** This didn't work! It is not secure! When wiping happens, the file gets moved to another place by btrfs, then, this doesn' | ||
| + | |||
| + | * This was just a stupid experiment. | ||
| ===== Create swapfile ===== | ===== Create swapfile ===== | ||
| Line 120: | Line 124: | ||
| sleep 5 | sleep 5 | ||
| echo " | echo " | ||
| - | sudo wipe -f -q -Q 1 / | + | |
| + | sudo dd if=/ | ||
| sync | sync | ||
| sleep 1 | sleep 1 | ||
hibernate_from_a_non_activate_swapfile_from_btrfs.1608128209.txt.gz · Last modified: 2021/02/01 05:55 (external edit)
