mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-06 01:19:23 +01:00
fstab: increase swapfile comments to 8G
This commit is contained in:
parent
d4e994c459
commit
5863692c55
@ -3,9 +3,9 @@
|
|||||||
# that works even if disks are added and removed. See fstab(5).
|
# that works even if disks are added and removed. See fstab(5).
|
||||||
|
|
||||||
## swap file creation and auto-mount
|
## swap file creation and auto-mount
|
||||||
# btrfs? # btrfs filesystem mkswapfile --size 4G /swap # proceed to step 4.
|
# btrfs? # btrfs filesystem mkswapfile --size 8G /swap # proceed to step 4.
|
||||||
# Otherwise:
|
# Otherwise:
|
||||||
# 1. # fallocate -l 4G /swap
|
# 1. # fallocate -l 8G /swap
|
||||||
# 2. # chmod 600 /swap
|
# 2. # chmod 600 /swap
|
||||||
# 3. # mkswap /swap
|
# 3. # mkswap /swap
|
||||||
# 4. # swapon /swap
|
# 4. # swapon /swap
|
||||||
|
Loading…
Reference in New Issue
Block a user