On 10/29/18 5:23 AM, Stephen Morris wrote: > Hi, > > I've just noticed that at boot time that the FSTRIM service is registering a > failure. The failure seems to be because it is trying to trim two windows mount points > which are on the SSD, that are mounted as RO because I can't mount them as RW due to > Microsoft functionality. > > Is there any way to configure the FSTRIM service to not attempt to trim specific > partitions? Yes. But it may be more trouble than it is worth. I assume the only thing you're seeing is a message in the logs. man fstrim and man systemd.service (for completeness) The fstrim command doesn't support an "exclude" function. Just an "--all" function. So, you'd have to copy /lib/systemd/system/fstrim.service to /etc/systemd/system (this overrides the /lib one) and then modify the file to have multiple ExecStart= lines. (Without specifying -a, of course) And list all the mount points. Since the service type is "oneshot" the ExecStart lines will be executed serially. -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx