]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim: update .service to follow /etc/fstab
authorKarel Zak <kzak@redhat.com>
Wed, 8 Aug 2018 09:35:58 +0000 (11:35 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 8 Aug 2018 09:35:58 +0000 (11:35 +0200)
commit0d73ea8bf96b036cc12fae6865158c936705238d
tree252bafbed379b61ce84e97603eebda9c715350cc
parent05541825553524e2ac353eb6c62c8b5ad049de24
fstrim: update .service to follow /etc/fstab

Replace -a with -A to discard mounted filesystems from /etc/fstab. The
original -a forces fstrim to try to discard all filesystems, including
for example manually mounted removable media.

It seems better for widely used .service unit to follow /etc/fstab.

Addresses: https://github.com/karelzak/util-linux/issues/673
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fstrim.service.in