• 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
Re: Volume info in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Volume info in Cocoa


  • Subject: Re: Volume info in Cocoa
  • From: Kevin Elliott <email@hidden>
  • Date: Tue, 21 Jan 2003 10:49:25 -0800

At 10:41 -0800 on 1/21/03, Christian Longshore Claiborn wrote:
How does NSWorkspace's - (NSArray *)mountedLocalVolumePaths work for you?

NSWorkspace is a great grab-bag full of useful info. I use CocoaBrowser (http://homepage2.nifty.com/hoshi-takanori/cocoa-browser/) for quick references like this.

Christian

Yeah, I'm already using it. The problem is that I need more info on a given volume.

I thought "getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:"

Might work for part of it, but I get null returns on all the string arguments. Moreover, I need inforamtion about drive capacity, etc. that it does not supply. I've also tried NSFileManagers "fileAttributesAtPath:traverseLink:" but it returns the directory size, no the size of all the data contained in the directory, which is clearly not what I'm interested it.

Anybody else got any ideas?
--
__________________________________________
Kevin Elliott <mailto:email@hidden>
ICQ#23758827 AIM ID: teargo
__________________________________________
_______________________________________________
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: Volume info in Cocoa
      • From: Vince DeMarco <email@hidden>
References: 
 >Re: Volume info in Cocoa (From: Christian Longshore Claiborn <email@hidden>)

  • Prev by Date: Re: Volume info in Cocoa
  • Next by Date: Problems with NSLayoutManager and NSTextContainer
  • Previous by thread: Re: Volume info in Cocoa
  • Next by thread: Re: Volume info in Cocoa
  • Index(es):
    • Date
    • Thread