>>37
find / ! -type d -printf "%h\n" | sort | uniq -c | sort -r > /tmp/list.txt
でディレクトリごとのファイル(ソケットやパイプを含む)数の一覧を、
多いもの順に採取できるので、これを上から順に見ていけばよい。