User Tools

Site Tools


hibernate_from_a_non_activate_swapfile_from_btrfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
hibernate_from_a_non_activate_swapfile_from_btrfs [2020/12/16 14:16] memeruizhibernate_from_a_non_activate_swapfile_from_btrfs [2020/12/17 12:36] – [Configure system for hibernation] memeruiz
Line 120: Line 120:
   sleep 5   sleep 5
   echo "Wiping swapfile"   echo "Wiping swapfile"
-  sudo wipe -f -q -Q 1 /swap/swapfile+  #sudo wipe -k -f -q -Q 1 /swap/swapfile 
 +  sudo dd if=/dev/zero of=/swap/swapfile bs=1M count=24576 status=progress #reserve 24GB
   sync   sync
   sleep 1   sleep 1
hibernate_from_a_non_activate_swapfile_from_btrfs.txt · Last modified: 2021/02/01 05:55 by 127.0.0.1