My fstab line for my SSD is
UUID=55c8a419-7b97-4f5f-84e8-464aa269543f / ext4 defaults,noatime,errors=remount-ro,discard 0 1
You also recommend
none /tmp tmpfs defaults,noatime,mode=1777 0 0
none /var/tmp tmpfs defaults,noatime 0 0
none /var/log tmpfs defaults,noatime 0 0
none /var/spool tmpfs defaults,noatime 0 0
My thinking is would any of these work
UUID=df2e8e60-1101-4ee2-a7bc-a3d3ab4909d5 /media/disk3part1 ext4 defaults,relatime,errors=remount-ro 0 2
/tmp /media/disk3part1/tmp defaults,noatime,bind 0 0
/var/tmp /media/disk3part1/var/tmp defaults,noatime,bind 0 0
/var/log /media/disk3part1/var/log defaults,noatime,bind 0 0
/var/spool /media/disk3part1/var/spool defaults,noatime,bind 0 0
/run/shm /media/disk3part1/run/shm defaults,noatime,bind 0 0
Or is there a better way? That way those files could be written to a HD and if something died on you (like the electricity) while you were in the middle of something all would not be lost.
Or would there be a better setup?
EDIT: set codetags (bluelupo, Moderator)