Viewing devaliases inside Solaris

Usually, when you need to view or manipulate content of EEPROM you can use eeprom command in Solaris. However, it’s not of much use if you need to view current device aliases. There is a simple way to do so using prtconf command. Just look for section aliases:

bash-3.00# prtconf -vp
Node 0xf002d470
disk:  '/pci@9,600000/SUNW,qlc@2/fp@0,0/disk@0,0:b'
rootdk:  '/pci@9,600000/SUNW,qlc@2/fp@0,0/disk@1,0:b'
disk1:  '/pci@9,600000/SUNW,qlc@2/fp@0,0/disk@1,0'
disk0:  '/pci@9,600000/SUNW,qlc@2/fp@0,0/disk@0,0'
ide:  '/pci@8,700000/ide@6'
scsi:  '/pci@9,600000/SUNW,qlc@2'
cdrom:  '/pci@8,700000/ide@6/cdrom@0,0:f'
net:  '/pci@9,700000/network@2'
net1:  '/pci@9,600000/network@1'
net0:  '/pci@9,700000/network@2'
flash:  '/pci@9,700000/ebus@1/flashprom@0,0'
idprom:  '/pci@9,700000/ebus@1/i2c@1,2e/idprom@4,a4'
nvram:  '/pci@9,700000/ebus@1/i2c@1,2e/nvram@4,a4'
i2c1:  '/pci@9,700000/ebus@1/i2c@1,30'
i2c0:  '/pci@9,700000/ebus@1/i2c@1,2e'
bbc:  '/pci@9,700000/ebus@1/bbc@1,0'
rsc-console:  '/pci@9,700000/ebus@1/rsc-console@1,3083f8'
rsc-control:  '/pci@9,700000/ebus@1/rsc-control@1,3062f8'
ttya:  '/pci@9,700000/ebus@1/serial@1,400000:a'
pci9b:  '/pci@9,700000'
pci9a:  '/pci@9,600000'
pci8b:  '/pci@8,700000'
pci8a:  '/pci@8,600000'
ebus:  '/pci@9,700000/ebus@1'
name:  'aliases'