• 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: Re: Disk Device Description
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Disk Device Description


  • Subject: Re: Re: Disk Device Description
  • From: "Michael Marmarou" <email@hidden>
  • Date: Wed, 11 Oct 2006 13:01:26 -0700

Sort of, but that's not what I am looking for here.  In this case,
there is no mount_point so I would have no way of knowing which is the
one I want.  Also, that is overkill and is very slow.

On 10/11/06, Hank Heijink <email@hidden> wrote:
Does System Profiler provide you with what you need? Look at the
system_profiler man pages for output formats and the like.

Hank Heijink
(212) 678-8761
(646) 283-3372
www.hankheijink.com
email@hidden

On Oct 11, 2006, at 2:07 PM, Michael Marmarou wrote:

> Hello,
> I need a way to get the device description for a mounted drive.  The
> command-line program 'diskutil' does not provide this info.  Either
> the description or the vendor or device ID would be fine.  As an
> example, I'd like to have a method that did this:
>
> NSString *description = [DeviceManager
> descriptionForDevice:@"/Volumes/Untitled"];
>
> Obviously that doesn't exist, and the solution doesn't have to be
> cocoa, if it doesn't exist. Are there any elegant ways to do this, or
> command-line programs I can use NSTask on to get this information?
>
> Thanks,
>
> Michael
> _______________________________________________
> 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: Disk Device Description
      • From: Diederik Hoogenboom <email@hidden>
    • Re: Disk Device Description
      • From: Hank Heijink <email@hidden>
References: 
 >Disk Device Description (From: "Michael Marmarou" <email@hidden>)
 >Re: Disk Device Description (From: Hank Heijink <email@hidden>)

  • Prev by Date: Re: Writing PDF with Outlines
  • Next by Date: Re: Alternative Circular Slider control
  • Previous by thread: Re: Disk Device Description
  • Next by thread: Re: Disk Device Description
  • Index(es):
    • Date
    • Thread