Kernel option to disable TRIM/discard system-wide?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I have looked through the archives, but can not find anything even remotely related to the subject:

I want to disable trim on my system for good - yet there seems to be no kernel boot parameter for this.

My rationale is simple: I want best data integrity guarantees, followed by better battery-life + mechanical robustness (I throw my laptop around a lot), and only last am I concerned about performance.

There seem to be a new TRIM-related bug discovered every couple months for quite some time now. Combined with the "metadata leak via dm-crypt" makes it a no-brainer decision that I want to avoid TRIM system-wide.

I currently have my sytsem configured properly, but I am concerned a future OS upgrade will introduce some well meaning cron-job or something along these lines that will re-enable discards without me ever noticing.

Is there a boot parameter I can hard-code for forward-compatible peace of mind?

Thank you!
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux