Change #264559
| Category | gcoreutils |
| Changed by | Lukáš Zaoral <lzaoral@redhat.com> |
| Changed at | Wed 15 Apr 2026 13:56:16 |
| Repository | git://git.savannah.gnu.org/coreutils.git |
| Project | gcoreutils |
| Branch | master |
| Revision | f6fda635bdc8ea7b6665fa25f7ccc78484a47679 |
Comments
df: improve detection of duplicate entries Do not compare only with the latest entry for given device id but also all previously saved entries with the same id. * src/df.c (struct devlist): Add next_same_dev struct member. (filter_mount_list): Iterate over next_same_dev to find duplicates. * tests/df/skip-duplicates.sh: Add test cases. * NEWS: Mention the improvement. https://redhat.atlassian.net/browse/RHEL-5649
Changed files
- NEWS
- src/df.c
- tests/df/skip-duplicates.sh