All of lore.kernel.org
 help / color / mirror / Atom feed
* losetup -f not working on SLES10
@ 2009-12-11 10:03 Andre Przywara
  2009-12-11 10:29 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Andre Przywara @ 2009-12-11 10:03 UTC (permalink / raw)
  To: gary.grebus; +Cc: xen-devel@lists.xensource.com, Keir Fraser

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?
Is a patch providing fallback to the old code an option?

Regards,
Andre.

-- 
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 448 3567 12
----to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Andrew Bowd; Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: losetup -f not working on SLES10
  2009-12-11 10:03 losetup -f not working on SLES10 Andre Przywara
@ 2009-12-11 10:29 ` Keir Fraser
  2009-12-11 15:03   ` Gary Grebus
  0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2009-12-11 10:29 UTC (permalink / raw)
  To: Andre Przywara, gary.grebus@oracle.com; +Cc: xen-devel@lists.xensource.com

Fine by me.

 K.

On 11/12/2009 10:03, "Andre Przywara" <andre.przywara@amd.com> 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?
> Is a patch providing fallback to the old code an option?
> 
> Regards,
> Andre.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: losetup -f not working on SLES10
  2009-12-11 10:29 ` Keir Fraser
@ 2009-12-11 15:03   ` Gary Grebus
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Grebus @ 2009-12-11 15:03 UTC (permalink / raw)
  To: Keir Fraser; +Cc: Andre Przywara, xen-devel@lists.xensource.com

Keir Fraser wrote:
> Fine by me.
> 
>  K.
> 
> On 11/12/2009 10:03, "Andre Przywara" <andre.przywara@amd.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-11 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-11 10:03 losetup -f not working on SLES10 Andre Przywara
2009-12-11 10:29 ` Keir Fraser
2009-12-11 15:03   ` Gary Grebus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.