Possible Duplicate:
How to enable TRIM?

I have Ubuntu 11.04.

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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>
proc            /proc           proc    nodev,noexec,nosuid 0       0
/dev/sda1       /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=f752713f-faeb-461f-92d8-6b2d4ce07843 none            swap    sw          0       0

Can you tell me how to modify the file? It didn't look like this in my previous installation, it looked something like:-

UUID=f752713f-faeb-461f-92d8-6b2d4ce07843                 errors=remount-ro 0       1
link|improve this question
See [this question][1]. [1]: askubuntu.com/questions/18903/how-to-enable-trim – Fraekkert Sep 29 '11 at 11:25
feedback

closed as exact duplicate by Marco Ceppi Sep 29 '11 at 11:59

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

You can check this link:

How to enable TRIM?

It's explained really well there.

link|improve this answer
I saw this question, but I'm confused at which line I should add discard. Half of the line is up (errors=remount-ro) and the other half is down (UUID=....), so where should I add the discard command? – wajed Sep 29 '11 at 11:54
@ wajed Add "discard" entry just before entry "errors=remount-ro 0" – Wojciech Sep 29 '11 at 13:48
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.