diff options
author | Stanislav Brabec | 2019-06-10 21:59:45 +0200 |
---|---|---|
committer | Karel Zak | 2019-06-11 10:23:45 +0200 |
commit | 2d22ac64e4d6e6732640f38b7232b5bcdc84a877 (patch) | |
tree | bebd9f7bf720d660e6db7da419fabf1d64e32a14 /disk-utils | |
parent | fstrim: Fix fstrim_all() comment (diff) | |
download | kernel-qcow2-util-linux-2d22ac64e4d6e6732640f38b7232b5bcdc84a877.tar.gz kernel-qcow2-util-linux-2d22ac64e4d6e6732640f38b7232b5bcdc84a877.tar.xz kernel-qcow2-util-linux-2d22ac64e4d6e6732640f38b7232b5bcdc84a877.zip |
fstrim -a/-A: Skip read-only volumes
Calling TRIM on some read-only volumes can fail with:
fstrim: /win: FITRIM ioctl failed: Bad file descriptor
Skipping all read-only mounts seems to be safe and logical strategy.
Fixes opensuse#1106214.
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Diffstat (limited to 'disk-utils')
0 files changed, 0 insertions, 0 deletions