]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim: don't trigger autofs
authorKarel Zak <kzak@redhat.com>
Mon, 4 Oct 2021 09:14:01 +0000 (11:14 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 4 Oct 2021 09:14:01 +0000 (11:14 +0200)
commit67f974d41d62c8b521fe81e1aac92562366f6a0a
tree2e5ea4f1620f043f5d8efacb953391faacd757f1
parente549619122b62b587b5aeb1b2ba3ca565010dc6d
fstrim: don't trigger autofs

- ignore read-only entries
- ignore autofs entries (for example from /proc/self/mountinfo)
- ignore autofs mountpoints where automounter has not been triggered yet

Fixes: https://github.com/karelzak/util-linux/issues/1463
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fstrim.8.adoc
sys-utils/fstrim.c