8129 bootadm: add support for non-zfs boot entries in menu.lst

Review Request #453 - Created April 30, 2017 and updated

Information
Toomas Soome
illumos-gate
8129
7c659d8...
Reviewers
general
8129 bootadm: add support for non-zfs boot entries in menu.lst

tsoome@test:~$ ./bootadm list-menu
the location for the active menu is: /rpool/boot/menu.lst
INDEX NAME            DEVICE                     TYPE   DEFAULT
0     Disk1           disk1:                     chain     -
1     Disk2           disk2:                     chain     -
2     Disk3           disk3:                     chain     -
3     Disk3_ufs       disk3s1a:                  bootfs    -
4     oi-431          rpool/ROOT/oi-431          bootfs    -
5     oi-432          rpool/ROOT/oi-432          bootfs    -
6     oi-433          rpool/ROOT/oi-433          bootfs    -
7     oi-434          rpool/ROOT/oi-434          bootfs    -
8     oi-435          rpool/ROOT/oi-435          bootfs    -
9     oi-436          rpool/ROOT/oi-436          bootfs    -
10    oi-437          rpool/ROOT/oi-437          bootfs    -
11    oi-438          rpool/ROOT/oi-438          bootfs    -
12    oi-438-backup-1 rpool/ROOT/oi-438-backup-1 bootfs    -
13    oi-439          rpool/ROOT/oi-439          bootfs    -
14    oi-440          rpool/ROOT/oi-440          bootfs    *
tsoome@test:~$
Robert Mustacchi
Hans Rosenfeld
Yuri Pankov
Toomas Soome
Toomas Soome
Yuri Pankov
Toomas Soome
Toomas Soome
Review request changed

Change Summary:

sample test output update.

Testing Done:

   

   
   
tsoome@test:~$ ./bootadm list-menu
   
the location for the active menu is: /rpool/boot/menu.lst
~  
INDEX DEFAULT TYPE   DEVICE                     MENU
~  
0     -       chain  disk1:                     Disk1
~  
1     -       chain  disk2:                     Disk2
~  
2     -       chain  disk3:                     Disk3
~  
3     -       bootfs disk3s1a:                  Disk3_ufs
~  
4     -       bootfs rpool/ROOT/oi-431          oi-431
~  
5     -       bootfs rpool/ROOT/oi-432          oi-432
~  
6     -       bootfs rpool/ROOT/oi-433          oi-433
~  
7     -       bootfs rpool/ROOT/oi-434          oi-434
~  
8     -       bootfs rpool/ROOT/oi-435          oi-435
~  
9     -       bootfs rpool/ROOT/oi-436          oi-436
~  
10    -       bootfs rpool/ROOT/oi-437          oi-437
~  
11    -       bootfs rpool/ROOT/oi-438          oi-438
~  
12    -       bootfs rpool/ROOT/oi-438-backup-1 oi-438-backup-1
~  
13    -       bootfs rpool/ROOT/oi-439          oi-439
~  
14    -       bootfs rpool/ROOT/oi-440          oi-440
  ~
INDEX NAME            DEVICE                     TYPE   DEFAULT
  ~
0     Disk1           disk1:                     chain     -
  ~
1     Disk2           disk2:                     chain     -
  ~
2     Disk3           disk3:                     chain     -
  ~
3     Disk3_ufs       disk3s1a:                  bootfs    -
  ~
4     oi-431          rpool/ROOT/oi-431          bootfs    -
  ~
5     oi-432          rpool/ROOT/oi-432          bootfs    -
  ~
6     oi-433          rpool/ROOT/oi-433          bootfs    -
  ~
7     oi-434          rpool/ROOT/oi-434          bootfs    -
  ~
8     oi-435          rpool/ROOT/oi-435          bootfs    -
  ~
9     oi-436          rpool/ROOT/oi-436          bootfs    -
  ~
10    oi-437          rpool/ROOT/oi-437          bootfs    -
  ~
11    oi-438          rpool/ROOT/oi-438          bootfs    -
  ~
12    oi-438-backup-1 rpool/ROOT/oi-438-backup-1 bootfs    -
  ~
13    oi-439          rpool/ROOT/oi-439          bootfs    -
  ~
14    oi-440          rpool/ROOT/oi-440          bootfs    *
   
tsoome@test:~$
   
Loading...