Solaris/SPARC: create a devalias with nvalias

Contributor Icon Contributed by qmchenry Date Icon December 9, 2005  
Tag Icon Tagged: Solaris system administration

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:

ok nvalias net /pci@1f,4000/network@2,1:dhcp

Previous recipe | Next recipe |
 
  • flexinfo
    Can this be done within #eeprom whilst the system is running?
blog comments powered by Disqus