bug#79096: du: -x doesn't detect sshfs file system
From:
Bernhard Voelker
Subject:
bug#79096: du: -x doesn't detect sshfs file system
Date:
Sat, 26 Jul 2025 15:11:27 +0200
User-agent:
Mozilla Thunderbird
On 7/25/25 20:25, Stan Marsh wrote:
With "du", I prefer using ~/* instead of just ~ because then you get totals for
each
(top-level) directory instead of just one grand total. And you get output as
you go,
not just at the very end (after a long wait/delay).
With 'du -sxc ~/*', you explicitly instruct du(1) to examine ~/sshfs_mount as
per globbing,
as discussed.
Maybe the -d option better suits your case then?
$ du -xchd 1 ~
Arguably, this doesn't skip "dot" files and directories, as the usual shell
globbing with '*' does.
Have a nice day,
Berny