running_out_of_inodes
Differences
This shows you the differences between two versions of the page.
| running_out_of_inodes [2011/12/06 11:55] – created tkbletsc | running_out_of_inodes [2014/01/24 10:00] (current) – tkbletsc | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| for e in os.listdir(path): | for e in os.listdir(path): | ||
| p = os.path.join(path, | p = os.path.join(path, | ||
| - | if os.path.isdir(p) and not os.path.ismount(p): | + | if os.path.isdir(p) and not os.path.ismount(p) and not os.path.islink(p): |
| r += get_entry_count(p) | r += get_entry_count(p) | ||
| r += 1 | r += 1 | ||
running_out_of_inodes.1323201317.txt.gz · Last modified: by tkbletsc
