• 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
How to use NSWorkspace's getFileSystemInfoForPath?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use NSWorkspace's getFileSystemInfoForPath?


  • Subject: How to use NSWorkspace's getFileSystemInfoForPath?
  • From: Yuhui <email@hidden>
  • Date: Sun, 15 Sep 2002 22:49:10 -0500

Hi,

I'm quite new to Cocoa programming, so please excuse me if this sounds trivial.

I'm designing an app that handles removable volumes and need an easy way to figure out what kind of volume each one is, e.g. CD, DVD, etc. I came across this function - getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:descriptio n:type: in NSWorkspace, but I'm not too sure how to use it. Can anyone provide any hints please? Sample code would be great too.

BTW I searched the Cocoa archives for "getfilesysteminfo" and "getfilesysteminfoforpath" but it returned nil, so I guess this has never been asked before.

Thanks!
Yuhui
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to use NSWorkspace's getFileSystemInfoForPath?
      • From: Dietrich Epp <email@hidden>
  • Prev by Date: Re: Text file encryption
  • Next by Date: table column text won't right justify
  • Previous by thread: Re: Toplevel Objects in NIB files
  • Next by thread: Re: How to use NSWorkspace's getFileSystemInfoForPath?
  • Index(es):
    • Date
    • Thread