Device Path Question

From: Christiansen, Valor (VChristiansen@geico.com)
Date: Wed Aug 28 2002 - 16:55:33 EDT


I have a question about how to relate disk device path names to their CxTxDx
equivalents. I have had a script runing for several years which, among
other things, looks at the eeprom parms for boot-device, and reports what
the primary and alternate boot devices are in CxTxDx format. It does this
by running a "prtconf -vp" and retrieving the path names associated with
"disk" or "disk1" from the eeprom listing. Then it looks up the path name
in /dev/dsk and gets the CxTxDx name. Pretty straighforward.

Except that we just installed a couple of SunFire 880 systems and the logic
no longer works. The path name from "prtconf -vp" returns:
'/pci@8,600000/SUNW,qlc@2/fp@0,0/disk@0,0'. This path name does not exist
in /dev/dsk. Instead I see the following: c1t0d0s0 ->
../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cf62063c,0:a.

Is there some way to relate the path obtained from prtconf to the entries in
/dev/dsk so I can find the appropriate CxTxDx? Alternatively, is there a
better way to do this.

TIA, and I will send a summary.

Val Christiansen
Unix System Support
(301) 718-5599

====================
This email/fax and any attachments are confidential and may not be used by
or sent to anyone who is not the original intended recipient. If you have
received this transmission in error, please inform the sender and
destroy/delete all paper and electronic copies.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:51 EDT