Hi!
So, I created a 256MB swap file on my usb2.0 flash drive (usb1 label) with the following sentences:
Then, I added this command to "post-mount" script in order to enable it at every reboot:
Swap file is active and running fine.
My concern: is it neccesary to disable swap before every reboot via services-stop script?:
As always, thanks in advance for your kind help!
So, I created a 256MB swap file on my usb2.0 flash drive (usb1 label) with the following sentences:
Code:
dd if=/dev/zero of=/tmp/mnt/usb1/swapfile.swp bs=1k count=262144
mkswap /tmp/mnt/usb1/swapfile.swp
swapon /tmp/mnt/usb1/swapfile.swp
Code:
swapon /tmp/mnt/usb1/swapfile.swp
Swap file is active and running fine.
My concern: is it neccesary to disable swap before every reboot via services-stop script?:
Code:
swapoff /tmp/mnt/usb1/swapfile.swp
As always, thanks in advance for your kind help!