I installed Lubuntu on a used netbook that I recently got. I would like to preserve the writes to the SSDs so I can (hopefuly
) get more mileage out of them. I did some Googling on it, and I think I have it set up correctly with all of the temporary directories mounted as RAMdisks by edint /etc/fstab. Is this the proper way to do it? Are there any directories that I'm missing?
Here is my fstab:
anthony@Anthony-Eee:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=d5d56d98-2343-48e5-8122-cddeb0b62c97 / ext2 errors=remount-ro 0 1
# /home was on /dev/sdb2 during installation
UUID=d1a6abc4-aa5d-46e6-83d0-c2878fbf13bd /home ext2 defaults 0 2
# /usr was on /dev/sdb1 during installation
UUID=c3923134-ccc4-448c-9cd5-6174347c58b9 /usr ext2 defaults 0 2
#I added this
#It makes a ramdrive for temporary dirs
tmpfs /tmp tmpfs rw,size=128M 0 0
tmpfs /var/spool tmpfs rw,size=128M 0 0
tmpfs /var/tmp tmpfs rw,size=128M 0 0
tmpfs /var/log tmpfs rw,size=128M 0 0
tmpfs /home/anthony/temp tmpfs rw,size=512M 0 0