User Tools

Site Tools


running_out_of_inodes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

running_out_of_inodes [2011/12/06 11:55]
tkbletsc created
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,​e)                         p = os.path.join(path,​e)
-                        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.txt ยท Last modified: 2014/01/24 10:00 by tkbletsc