UNIXNAME2BOOTNAME(8)

NAME
unixname2bootname - convert SunOS device name to boot device name

SYNOPSIS
/usr/kvm/unixname2bootname name

AVAILABILITY

This program is available for desktop SPARCsystems and for the SPARCsystem 600MP series only.

DESCRIPTION

The unixname2bootname command converts a SunOS device name to a boot PROM device name. This is useful for OPENPROM systems that have more complicated (though absolutely general) device names.

EXAMPLES

On a SPARCstation 1 or a SPARCstation 1+ system, unixname2bootname would act like this:
    example# /usr/kvm/unixname2bootname sd0b
    sd(0,0,1)
    example#

On a SPARCstation 2 system or a SPARCstation 10 system, unixname2bootname would act like this:
    example# /usr/kvm/unixname2bootname sd0b
    /sbus@1,f8000000/esp@0,800000/sd@3,0:b
    example#

The output of unixname2bootname can be combined using various shell quote mechanisms to form arguments for reboot(8) and other utilities.
    example# reboot "`/usr/kvm/unixname2bootname sd0b` -sw"

FILES
/dev/openprom

SEE ALSO
openprom(4S), boot(8)

BUGS

unixname2bootname does not deal with non-disk devices well.