]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim: Add fstab option X-fstrim.notrim
authorStanislav Brabec <sbrabec@suse.cz>
Mon, 31 Jan 2022 09:53:20 +0000 (10:53 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 31 Jan 2022 09:53:20 +0000 (10:53 +0100)
commit582eb71d737b6c23dd5ec19db0e9aa1d4d7abee9
treee7ceee5b6f0e4f13cbae096c6095d72417cdb98e
parent1d615681a3650fed0fd9ecf323d599605f026736
fstrim: Add fstab option X-fstrim.notrim

Sometimes it makes sense to skip fstrim for selected file mounts, but
still be able to use fstrim.service.

Add a possibility to specify "X-fstrim.notrim" in fstab.

Do not use "notrim", as it collides with the kernel rbd driver.

[kzak@redhat.com: - rename x-fstrim to X-fstrim]

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fstrim.8.adoc
sys-utils/fstrim.c