On Jan 10, 2014, at 9:18 AM, "Jeff Squyres (jsquyres)" <jsquy...@cisco.com> 
wrote:

>> It seems to indicate that even if one does find a statfs() function, there 
>> are multiple os-dependent versions and it should therefore be avoided.  
>> Since statvfs() is defined by POSIX, it should be preferred.
> 
> Sounds good; I'll do that.

Gah.  The situation gets murkier.  I see in OS X Mountain Lion and Mavericks 
man pages for statvfs() where they describe the fields in struct statvfs:

           f_fsid     Not meaningful in this implementation.

This is the field I need out of struct statvfs to know what the file system 
magic number is.  Arrgh!

I'll keep looking into what would be a good solution here...

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to