bug#79096: du: -x doesn't detect sshfs file system

Bernhard Voelker <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.