[Ovirt-devel] [PATCH node] Small patch to find disks if hal doesn't return one.

Perry Myers pmyers at redhat.com
Wed Jan 7 14:41:41 UTC 2009


Daniel P. Berrange wrote:
> On Tue, Jan 06, 2009 at 03:32:29PM -0500, Darryl L. Pierce wrote:
>> If hal does not return any devices with the storage capability, and
>> that's of type disk and block, then the script will grab all devices
>> that meets the pattern /dev/[shv]d? and show them.
>>
>> Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
> 
> Errr, Why ?  If HAL doesn't find the disk, then we need to fix
> HAL and not go poking around in /dev ourselves. 

Agree, but this is a short term fix.  This only happens for virtio based 
disks (i.e. vda) on the 'fake' Node.

We can follow up and fix Hal as well.

Perry




More information about the ovirt-devel mailing list