10 Oct 11

I needed to list all files in a directory, but ls, find, and os.listdir all hung. This is my story. TLDR: Write a C program that calls the syscall getdents directly, with a large buffer size, ignore entries with inode == 0.

by mlb