• 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
Differentiate FAT16 and FAT32
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Differentiate FAT16 and FAT32
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Re: iCal-style NSTextFields
  • Next by Date: Re: How do I know when a new object is added to an NSArray or NSCollectionView?
  • Previous by thread: Re: Application defaults and toolbar items
  • Next by thread: Re: Differentiate FAT16 and FAT32
  • Index(es):
    • Date
    • Thread