• 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
device path from mount path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

device path from mount path?


  • Subject: device path from mount path?
  • From: "stephen joseph butler" <email@hidden>
  • Date: Tue, 14 Nov 2006 17:04:12 -0600

I'd like to get the device path (ie: /dev/disk1s0, etc) for each
mounted volume. I've figured out that NSWorkspace
mountedLocalVolumePaths lists all the volumes. And that
file(System)AttributeAtPath gives some interresting information. But
I'm at a loss as how to translate this into a device path.

Any help? I don't want to launch any command line tools, like "mount".
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: device path from mount path?
      • From: "Christoph Nadig" <email@hidden>
  • Prev by Date: Re: -[NSOutlineView setAutosaveTableColumns:YES] and growing column widths
  • Next by Date: Re: NSImage and PNG problems
  • Previous by thread: Re: -[NSOutlineView setAutosaveTableColumns:YES] and growing column widths
  • Next by thread: Re: device path from mount path?
  • Index(es):
    • Date
    • Thread