How to get "du -sk *" to work sensibly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I always used to use the command "du -sk *" to get a quick indication
of where all my disk space was going.

Now, because I have a few slow external filesystems mounted, it no
longer works in a finite time and I can't see how to get it to skip
the slow file systems.

If I "cd /" and give the command "du -skx *" it *doesn't* skip the
mounted filesystems because they're mounted on root directories.  E.g.

    home# du -sk *
    83266088        a2
    53643968        backup
    6448    bin
    14009   boot
    4       cd
    200     dev
    121800  etc

/a2 is actually a mount point for another file system and the next
one, /freecom, never gets displayed because it's too slow.

The -X option doesn't work either because it excludes files, not
directories.


So how can I get an idea of the size of the various directories on my
root file system?  There seems no easy way.

-- 
Chris Green

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux