Solaris/SPARC: Create a Devalias with nvalias

Device aliases are useful in the BootPROM environment because they simplify the unwieldly device paths into simple terms like disk and net. There may be cause to create a new device alias on a system as when adding a new or alternate boot device.

Device aliases are created only in the BootPROM (ok prompt). If you want to add an alias for a disk with a path of /pci@1f,0/pci@1,1/ide@3/disk@0,0 use the nvalias command like this:

nvalias disknew /pci@1f,0/pci@1,1/ide@3/disk@0,0

BootPROM versions 3.25 and later support booting from the network. Creating a network device alias is similar as seen in the example below:

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.View more articles by Quinn McHenry