Hi, dirp = opendir("/cdrom"); direntp = readdir(dirp);
results in direntp->d_type == DT_UNKNOWN for every kind of directoryentry, even if it is a directory or file. The man page didn't say it didn't work with CDs, so I assume it should work ( ;) ). current from "Sun Jan 17", Bye, Alexander. -- "Darth Vader sleeps with a Teddywookie." Fortune cookie http://netchild.home.pages.de/ A.Leidinger @ wurzelausix.cs.uni-sb.de To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message