Enable SDD trim in ubuntu

To enable automatic trimming of SDD disks add discard to the mount options in the fstab, e.g.:

UUID=ed586ab8-08c5-4bae-b118-d191b716b4a4 /               ext4    discard,errors=remount-ro 0       1

Ref: http://askubuntu.com/questions/18903/how-to-enable-trim/19480#19480

~~LINKBACK~~