Differentiate FAT16 and FAT32
Differentiate FAT16 and FAT32
- Subject: Differentiate FAT16 and FAT32
- From: Matthias Arndt <email@hidden>
- Date: Sun, 10 Jan 2010 21:04:39 +0100
Hi!
I currently stuck, maybe someone can point my into the right direction!
In my app I have to differentiate between USB storage devices formatted with a MSDOS-FAT16 or with MSDOS-FAT32 file system. At the moment I use [NSWorkspace getFileSystemInfoForPath] to get some information:
BOOL isRemovable;
BOOL isWriteable;
BOOL isUnmountable;
NSString *fileSystemDescription;
NSString *fileSystemType;
[[NSWorkspace sharedWorkspace] getFileSystemInfoForPath:path
isRemovable :&isRemovable
isWritable :&isWriteable
isUnmountable:&isUnmountable
description :&fileSystemDescription
type :&fileSystemType];
Unfortunately both types are reported as "msdos". Is there any way to get the entry size of the used file allocation table? In the Finder every info dialog of a volume contains this information, so I was really surprised finding the mentioned method not differentiating both of them ...
Any hint is appreciated, Matthias
_______________________________________________
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