[node-patches] Change in ovirt-node[master]: Fix find_disk return value issue

hadong0720 at gmail.com hadong0720 at gmail.com
Mon Oct 7 04:47:20 UTC 2013


hadong has uploaded a new change for review.

Change subject: Fix find_disk return value issue
......................................................................

Fix find_disk return value issue

Change-Id: Ia5cfac7149b00f54e68a83f64cf777f071825697
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=956568
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M dracut/ovirt-boot-functions
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/08/19908/1

diff --git a/dracut/ovirt-boot-functions b/dracut/ovirt-boot-functions
index 59f659d..780c275 100644
--- a/dracut/ovirt-boot-functions
+++ b/dracut/ovirt-boot-functions
@@ -48,7 +48,7 @@
     # in initramfs, shell does not expand
     # /dev/disk/by-id/{ata,cciss,scsi,usb}* correctly,
     # so manually enumerate them
-    for d in $(ls /dev/disk/by-id/ata* /dev/disk/by-id/cciss* /dev/disk/by-id/scsi* /dev/disk/by-id/usb* 2>/dev/null); do
+    for d in $(ls /dev/disk/by-id/$bus* 2>/dev/null); do
         DEVTYPE=
         eval $(udev_info $(readlink -f $d) property "--export")
         # ID_FS_USAGE is set for partitions


-- 
To view, visit http://gerrit.ovirt.org/19908
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5cfac7149b00f54e68a83f64cf777f071825697
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list