Quote:
Originally Posted by learningMan
...fstab "ro" is OK, but, what about swaping? ... maybe add a RAM disk should be a good idea too
|
If you're on a computer with a swap partition, use the addswap command to use it, but don't put one on the flash drive.
I prefer to use tmpfs instead of ramdisks. It's similar, but it's size is dynamic.
Code:
#Add this to /etc/fstab
none /tmp tmpfs mode=777 0 0
If you ever find yourself low on RAM, just remove some files in /tmp.