Hi,

For a SPARC system is there a simple way to determine the OBP device 
path for a disk given its /devices path in Solaris? The leaf of the path 
on a running system is different than the path listed in the OBP.

For example, here is the boot-device of a system as seen from the OBP 
and then from Solaris:

/pci at 400/pci at 0/pci at 8/scsi at 0/disk at 1,0:a
/devices/pci at 400/pci at 0/pci at 8/scsi at 0/sd at 0,0:a

I can understand simply removing /devices, but what about the "disk" 
-vs- "sd" bit? I presume "sd" represented the driver. Can I always 
remove the prefix of the last word up to the @ (e.g. sd or ssd) and 
replace it with "disk"?

The installer must do this somehow to set the boot device...

-- 
*<|:-o)>
Merry Christmas,
Jon.
{-%]
========
If you always do what you've always done, you'll always get what you've always 
gotten.
- Anon.
--------
When someone asks you, "Penny for your thoughts," and you put your two cents 
in, what happens to the other penny?
- G. Carlin (May 12, 1937 - June 22, 2008)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Jon_Aimone.vcf
Type: text/x-vcard
Size: 305 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20091214/5c14683d/attachment.vcf>

Reply via email to