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

Re: device path from mount path?


  • Subject: Re: device path from mount path?
  • From: "Christoph Nadig" <email@hidden>
  • Date: Wed, 15 Nov 2006 06:58:16 +0100

Hi,

have a look at the man page of getfsstat (2)

Hope this helps,
Christoph

>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


 _______________________________________________
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: "stephen joseph butler" <email@hidden>
References: 
 >device path from mount path? (From: "stephen joseph butler" <email@hidden>)

  • Prev by Date: Re: How to create hyperlinks in Cocoa
  • Next by Date: Multi-column text in NSTextView
  • Previous by thread: device path from mount path?
  • Next by thread: Re: device path from mount path?
  • Index(es):
    • Date
    • Thread