Thread
:
Support for TRIM / Discard?
View Single Post
Fuzzillogic
2017-10-20 , 14:43
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…
Quote & Reply
|
The Following 2 Users Say Thank You to Fuzzillogic For This Useful Post:
juiceme
,
olf
Fuzzillogic
View Public Profile
Send a private message to Fuzzillogic
Find all posts by Fuzzillogic