|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] losetup -f not working on SLES10
 
Keir Fraser wrote:
> Fine by me.
> 
>  K.
> 
> On 11/12/2009 10:03, "Andre Przywara" <andre.przywara@xxxxxxx> wrote:
> 
>> Hi,
>>
>> c/s 20404 (http://xenbits.xen.org/xen-unstable.hg?rev/830bda7a9c75)
>> introduces "losetup -f" to the hotplug scripts to find a free loop
>> device. This option does not exists on SLES10, so Xen unstable does not
>> work any longer on top on SLES10. I see that using -f is much smarter
>> than the old-fashioned way, but shouldn't we keep compatibility with
>> older Dom0 userlands?
Ooops. I thought I checked that SLES10 had "-f", but apparently it was
openSUSE.
>> Is a patch providing fallback to the old code an option?
Or maybe cleaner to just scan the output of "losetup -a" for
the first unassigned device?  I can work up a patch.
        /gary
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
 | 
    | 
  
  
    |   | 
    |