• 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: Identifying CD drives across reboots
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identifying CD drives across reboots


  • Subject: Re: Identifying CD drives across reboots
  • From: Terry Lambert <email@hidden>
  • Date: Tue, 18 Dec 2007 13:30:11 -0800

On Dec 18, 2007, at 1:00 PM, Stephen Hoffman wrote:
My next idea was to use the drive's serial number via kIOPropertyProductSerialNumberKey, but while IOStorageDeviceCharacteristics.h says the key is mandatory...
Only a subset of SCSI devices (USB, ATAPI, SAS, etc) I've worked with have "real" serial numbers. Some devices are specified by the OEM with a Vendor, err, Vital Private Data (VPD; page 80h) structure, and the serial number can be stored there. Some don't have the VPD. A few (rare) devices are specified with host-writable areas; that was an approach that one vendor used to identify its widgets in a SAN fabric when multiple paths are present. Some devices (eg: USB keyboards) seldom seem to have any sort of unique identity.

Being that this is an optical drive, you can't use the expedient of writing something identifiable onto the media.

Which begs the question that's been on my mind since this thread started:


Since this is removable optical media, why are you trying to identify the drive, rather than the media inserted into the drive?

-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Identifying CD drives across reboots (From: Stephen Hoffman <email@hidden>)

  • Prev by Date: Re: Identifying CD drives across reboots
  • Next by Date: Re: How does 'Finder' open an application and bring the window to the front?
  • Previous by thread: Re: Identifying CD drives across reboots
  • Next by thread: Re: Identifying CD drives across reboots
  • Index(es):
    • Date
    • Thread