]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim: check for ENOSYS when using --quiet-unsupported
authorNarthorn <narthorn@gmail.com>
Sat, 7 May 2022 05:43:02 +0000 (07:43 +0200)
committerNarthorn <narthorn@gmail.com>
Sat, 7 May 2022 05:43:02 +0000 (07:43 +0200)
commit7b8fda2e8e7b1752cba1fab01d7f569b5d87e661
tree575bef5890684a5d458bfc49831cf2384ae0615c
parentf9fb07ab1ee55cb09ab2c459a3db0c8bb51831f2
fstrim: check for ENOSYS when using --quiet-unsupported

Some filesystems like bindfs report ENOSYS (Function not implemented)
for the trim ioctl, which should be caught by --quiet-unsupported.
sys-utils/fstrim.c