Difference between revisions of "Swap"
Views
Actions
Namespaces
Variants
Tools
m
no edit summary
imported>DeMus m (→Overview) |
imported>Cscs m |
||
Line 55: | Line 55: | ||
In order to ensure that the swap is enabled at boot we can add an entry to {{ic|/etc/fstab}}. It is best to use the UUID instead of the device name for this purpose. You can add the line to | In order to ensure that the swap is enabled at boot we can add an entry to {{ic|/etc/fstab}}. It is best to use the UUID instead of the device name for this purpose. You can add the line to fstab manually or using the command: | ||
sudo bash -c "echo UUID=$(lsblk -no UUID /dev/sda3) none swap defaults 0 0 >> /etc/fstab" | sudo bash -c "echo UUID=$(lsblk -no UUID /dev/sda3) none swap defaults 0 0 >> /etc/fstab" | ||