>>> On 4/12/2011 at 10:39 PM, Leland Lucius <[email protected]> wrote: 
> n 4/12/11 4:11 PM, Leland Lucius wrote:
>> Does anyone else find this bit of code produced by mkinitrd to be a little 
> off?
>>
>>      root=/dev/*)
>>         set -- $(IFS=/ ; echo $o)
>>         if [ "$#" = "3" ]&&  [ "$2" != "cciss" ] ; then
>>             vg_root=$2
>>         fi
>>         ;;
>>
>> This comes from the "init" script created by the mkinitrd command.
>>
> How about if '/proc/cmdline' has "root=/dev/rootvg/lv01" as one of the
> arguments?

The intent seems to be to pick out the VG name, since a couple of lines below 
that I see
if [ -z "\$vg_root" ]; then
  vg_root=$vg_root
fi

vgchange -a y \$vg_root


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to