On 2025-07-25 11:25, Stan Marsh wrote:
it could be argued that -x should cause it to skip (i.e., not descend into) any directory which is a mountpoint
That goes too far; people regularly use commands like 'du -x /mountpoint' to list just that file system.
It sounds like we have a feature request here for a new option, which would behave the way you like. So I have marked the bug report as a wishlist item. Not sure whether it's worth implementing....