View Single Post
Posts: 479 | Thanked: 1,284 times | Joined on Jan 2012 @ Enschede, The Netherlands
#2
Digging a bit further into this, the source code of fstrim uses discard_granularity to see whether trim is supported.

And lo and behold:

Code:
[nemo@Sailfish ~]$ cat /sys/block/mmcblk0/queue/discard_granularity 
524288
I'm wary to experiment with this on my JP1, as this is my only and primary mobile, and I don't want to end up with the entire flash storage being trimmed, leaving me with exactly 0 bits of data on the device…
 

The Following 2 Users Say Thank You to Fuzzillogic For This Useful Post: