Disk usage on a specific filesystem
Use the -x
(single file system) option:
du -cshx /
This instructs du
to only consider directories of /
which are on the same file system.
Use the -x
(single file system) option:
du -cshx /
This instructs du
to only consider directories of /
which are on the same file system.