Re: Differentiate FAT16 and FAT32
Re: Differentiate FAT16 and FAT32
- Subject: Re: Differentiate FAT16 and FAT32
- From: James Bucanek <email@hidden>
- Date: Mon, 11 Jan 2010 09:17:20 -0700
Alastair Houghton <mailto:email@hidden> wrote
(Monday, January 11, 2010 2:49 AM -0000):
On 10 Jan 2010, at 21:05, Matthias Arndt wrote:
According to the sources for the FAT filesystem driver (which you can get
from <http://opensource.apple.com>), you can look at
f_fssubtype in the statfs structure, which you can retrieve using statfs() or
similar. See man 2 statfs.
This isn't exactly a Cocoa question, BTW... you should
probably have asked
on darwin-dev or one of the other lists.
Thanks for the hint, I will definitely look into statfs and its structure.
When posting the question I wasn't aware that it's not
related to Cocoa: I assumed that I may have missed the right framework / class
/ method ... Sorry!
No, I was in the wrong here. I read back through your e-mail; the *answer*
has nothing to do with Cocoa, but you were asking about a Cocoa class. You
would have needed to know that the issue wasn't Cocoa-related in order to be
able to tell. My apologies.
Another suggestion: ask filesystem questions on the
filesystem-dev list
(<http://lists.apple.com/mailman/listinfo/filesystem-dev>). The
people on this list are filesystem geniuses, but some have
publicly admitted that they can't keep up with Cocoa-dev -- for
which I sympathize.
--
James Bucanek
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden