Topic: When does GParted trigger TRIM ?
Hello,
I've got a few questions regarding GParted and the TRIM command.
I may be wrong but for the TRIM command to be passed to an SSD I think 4 things need to support it : the file system, the OS, the SSD and the SATA controller driver.
I've got an SSD and a SATA controller that support TRIM, and I use ext4 as file system which I believe also supports TRIM.
Now I'm wondering if I use a recent version of GParted to format one of my system partitions, will it send the TRIM command to my SSD ?
I suppose that the answer is yes as I've read on Wikipedia that TRIM was added to the linux kernel from version 2.6.33 and recent versions of GParted use version 3.1.5-1. I just would like to know if my guess is correct.
My second question is this : Will GParted send the TRIM command even if the formatted partition use ntfs and not ext4 ?
And finally my last questions : Will GParted send the TRIM command if, instead of formatting a partition, I delete a partition ?
And what about if I just delete the whole table partition ?
I suspect that in those cases GParted won't send it because of what I read on Anandtech :
TRIM is triggered by two things it seems. Either deleting a file and emptying the recycle bin (to truly delete it) or formatting the drive. Simply deleting a partition doesn't TRIM the entire drive as I found out the hard way.
But again I'm not sure because Anand probably used Windows not GParted.
Thank you in advance for your time and your help.