View Single Post

   
  #7 (permalink)  
Old 01-16-2008, 10:59 AM
Anoop
 
Posts: n/a
Default Re: disk probing on solaris 10 6/06

Also, I have another question

The command

disklist=$(format </dev/null | nawk '/[0-9]+\. c[0-9]/ { print $2}')

worked perfectly.

However, disklist is going to give me the list of all disks attached to
the system. I need only the root disk, or the disk that the machine
boots from? Is this always the first entry (or the zeroeth entry)?

Thanks,
Anoop

Reply With Quote