• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problems with dirent and nfs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Problems with dirent and nfs
      • From: Jim Luther <email@hidden>
    • Re: Problems with dirent and nfs
      • From: Mike Mackovitch <email@hidden>
  • Prev by Date: Getting "Bay" information
  • Next by Date: Re: Problems with dirent and nfs
  • Previous by thread: Re: Getting "Bay" information
  • Next by thread: Re: Problems with dirent and nfs
  • Index(es):
    • Date
    • Thread