diff options
author | Stanislav Brabec | 2019-06-10 21:59:17 +0200 |
---|---|---|
committer | Karel Zak | 2019-06-11 10:26:55 +0200 |
commit | 402006fa6e4dd1ce52758f9be91caaffffb3f337 (patch) | |
tree | 3b8e80318690d265341eb630039f95884a462a04 /disk-utils/fdisk-list.c | |
parent | fstrim -a/-A: Skip read-only volumes (diff) | |
download | kernel-qcow2-util-linux-402006fa6e4dd1ce52758f9be91caaffffb3f337.tar.gz kernel-qcow2-util-linux-402006fa6e4dd1ce52758f9be91caaffffb3f337.tar.xz kernel-qcow2-util-linux-402006fa6e4dd1ce52758f9be91caaffffb3f337.zip |
fstrim: properly de-duplicate fstrim -A
fstab can contain tag based mounts. De-duplication by source has to be
done after resolving the full source path.
Perform the table iteration twice. First time, prepare for
de-duplication, second time perform the TRIM itself.
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Diffstat (limited to 'disk-utils/fdisk-list.c')
0 files changed, 0 insertions, 0 deletions