From: Daniel Berger Date: 2012-01-08T10:23:00+09:00 Subject: Re: Trouble getting ffi and getmntinfo to work On Jan 5, 2:03 pm, Daniel Berger wrote: > Hi, > > I'm trying to usegetmntinfoon OSX (Snow leopard), but I can't seem to > get meaningful data. The char fields tend to be blank or just not what I > would expect. > > I *think* I have the statfs struct declared properly, but it's possible > I made a mistake somewhere. It's the same size at least. Any ideas? Oops, apparently I have to explicitly call getmntinfo64 because, unlike the C function, it doesn't automatically return the proper struct. Anyway, figured it out. Regards, Dan