How to apply TRIM to an NTFS partition on an SSD drive?

I have Ubuntu 13.10 and Windows 7 installed in dual boot on a single SSD. In addition they share an NTFS partition where I put all my data and documents. How can I apply TRIM to this partition?


Solution 1:

As far as I know it is not possible.

The mount option discard is not available for NTFS partitions.

Furthermore, the command fstrim does not support NTFS, returns an error message if you try to trim an NTFS partition:

user@host:~$ fstrim -v /dos
fstrim: /dos: FITRIM ioctl failed: Inappropriate ioctl for device