Find which disk the system boot

sexta-feira, 30 de dezembro de 2011

# ll /dev/disk | grep $(echo "bootdev/x"|adb /stand/vmunix /dev/kmem | awk '/0x/ {print substr($1,5)}')

This is an example for the output:
brw-r----- 1 bin sys 1 0x000003 Oct 12 2010 disk1_p2

If it doesn’t work, try grepping in /dev/dsk (and your system is probably a 11.23)

Se não funcionar tente através do "/dev/dsk" (possívelmente você esteja usando 11.23)