On Wed, Dec 18, 2019 at 02:42:42PM -0700, Chris Murphy wrote:
Just a reminder, the underlying unit, fstrim.service, uses
'fstrim
--fstab' so only fstab file systems are affected. The user would need
to change the unit file to use --all instead of --fstab to affect all
We (upstream) originally had --all in the service file, but later
--fstab was requested by Debian guys. It seems better to default to
explicitly configured filesystems than blindly try all stuff
including removable media.
mounted file systems. I'll include that info in the change wiki.
I
imagine the best practice is to copy the original unit file, edit it,
and use it as a drop in unit file in /etc ?
Yes, if you need something else that the default.
Karel
--
Karel Zak <kzak(a)redhat.com>
http://karelzak.blogspot.com