Bugzilla – Attachment 69796 Details for
Bug 152790
mkinitrd fails for rootfs on LVM2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
Diff against current mkinitrd
fix_mkinitrd.diff (text/plain), 574 bytes, created by
Carl-Daniel Hailfinger
on 2006-02-22 14:43:51 UTC
(
hide
)
Description:
Diff against current mkinitrd
Filename:
MIME Type:
Creator:
Carl-Daniel Hailfinger
Created:
2006-02-22 14:43:51 UTC
Size:
574 bytes
patch
obsolete
>--- mkinitrd.orig 2006-02-19 18:38:31.000000000 +0100 >+++ mkinitrd 2006-01-23 08:13:52.000000000 +0100 >@@ -2840,11 +2840,11 @@ > # Check whether we are using LVM2 > rootmajor=$(devmajor $rootdevn) > rootminor=$(devminor $roodevn) >- vg_line=$(lvdisplay -c 2> /dev/null | grep "$rootmajor:$rootminor") >+ vg_line=$(lvdisplay -c 2> /dev/null | grep ":$rootmajor:$rootminor$") > if [ "$vg_line" ] ; then > root_lvm2=1 > lv_root=$(echo $vg_line | cut -f 1 -d :) >- vg_root=$(echo $vg_line | cut -f 3 -d :) >+ vg_root=$(echo $vg_line | cut -f 2 -d :) > fi > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 152790
: 69796