On Sun, 2003-09-14 at 11:33, Jacob Kolding wrote: > when using the readdir function from <dirent.h> to get dirents the > dtype member of dirent is always returned as unknown. Please supply a test program to demonstrate the problem. We also need some more information: what filesystem are you using, and which kernel version? p.