root: increase swapfile size
This commit is contained in:
parent
80ffdf4039
commit
780d086058
|
@ -9,7 +9,7 @@ truncate -s 0 /swap/swapfile
|
|||
chattr +C /swap/swapfile
|
||||
btrfs property set /swap/swapfile compression none
|
||||
|
||||
dd if=/dev/zero of=/swap/swapfile bs=100M count=100 status=progress
|
||||
dd if=/dev/zero of=/swap/swapfile bs=100M count=200 status=progress
|
||||
|
||||
chmod 600 /swap/swapfile
|
||||
mkswap /swap/swapfile
|
||||
|
|
Reference in New Issue