for a in /; do mountpoint -q – "$a" || du -shx "$a"; done | sort -h - (Disk usage skipping mount points (even top-level ones) Other solutions that involve doing $ du -sx / are incomplete because they will still descend other top-level filesystems are that mounted…
» commandlinefu.com | commandlinefu.com