Difference between revisions of "Swap"

69 bytes added ,  3 years ago
m
page translations: added some texts
m (Improved readability while translating to French)
m (page translations: added some texts)
Line 118: Line 118:
  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"


If you would like to have more than one swap partition, simply repeat the steps above for any additional partitions.
<translate>If you would like to have more than one swap partition, simply repeat the steps above for any additional partitions.</translate>


{{note|Be sure to replace /dev/sda3 in the above commands with your actual swap partition.}}
{{note|<translate>Be sure to replace /dev/sda3 in the above commands with your actual swap partition.</translate>}}
{{tip|''If you're using a HDD'' (spinning rust) put the swap partition *at the beginning of the disk* as the speed of the disk is higher on the inside tracks. On an SSD this doesn't matter.}}
{{tip|<translate>''If you're using a HDD'' (spinning rust) put the swap partition *at the beginning of the disk* as the speed of the disk is higher on the inside tracks. On an SSD this doesn't matter.</translate>}}
<translate>
<translate>
=Using a Swapfile= <!--T:39-->
=Using a Swapfile= <!--T:39-->
translator
278

edits