>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. Right. That's why I suggested the idea of treating it differently if it ends with a slash vs. not ending with a slash. Sort of like how rsync does it. If this were done, then you'd have to do: du -x /mountpoint/ to get everything on the filesystem mounted at /mountpoint, but still exclude things sub-mounted under /mountpoint. Or there could an entirely new options - maybe -X (capital X). Anyway, just an idea. My specific problem is solved and is not a bug. >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.... Agreed. No problem. ================================================================================= Please do not send me replies to my posts on the list. I always read the replies via the web archive, so CC'ing to me is unnecessary. Note that they always end up in my Spam file anyway, so it is annoying to have to periodically clean that out.