Problems with dirent and nfs
Problems with dirent and nfs
- Subject: Problems with dirent and nfs
- From: email@hidden
- Date: Wed, 18 Mar 2009 12:39:21 +0000
I'm using scandir to get directory entries for mounted volumes.
In the returned directory entries I can use d_type to quickly identify
directories.
However when scanning an nfs mount I don't get this information.
d_type is DT_UNKNOWN rather than DT_DIR.
Any suggests for getting a correct d_type or any other way to quickly
determine the type of each entry?
Thanks,
Adam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden