Imported from upstream pull request muesli#359: muesli#359
Original author: @kreudom
Original state: OPEN
Original labels: none
Original assignees: none
Calling statfs on autofs mounts will trigger a filesystem mount. This can hang duf (especially when mounting network filesystems) and erroneously assign the statfs results of the mounted filesystem to the autofs entry.
I also set the Statfs_t.Type field manually, so that autofs is correctly identified as a special filesystem.
Fixes muesli#250
Feels a bit hacky but I can't think of a better solution.
Imported from upstream pull request muesli#359: muesli#359
Original author: @kreudom
Original state: OPEN
Original labels: none
Original assignees: none
Calling statfs on autofs mounts will trigger a filesystem mount. This can hang duf (especially when mounting network filesystems) and erroneously assign the statfs results of the mounted filesystem to the autofs entry.
I also set the
Statfs_t.Typefield manually, so that autofs is correctly identified as a special filesystem.Fixes muesli#250
Feels a bit hacky but I can't think of a better solution.