[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 1206] New: Incorrect order assigning loop devices



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1206

           Summary: Incorrect order assigning loop devices
           Product: Xen
           Version: 3.0.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: raul.mahiques.martinez@xxxxxxxxx


When assigning loop devices it doesn't follow a logical order. 
Example:
Instead of follow this order:
loop0 loop1 loop2 ...
it would follow:
loop0 loop1 loop10 ... 


It could be solved with this:
278c278
<         for dev in /dev/loop*
---
>         for ((i=0; $i < $(ls -1 /dev/loop*|wc -l) ; i++ ))
279a280
>         dev=/dev/loop${i}


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.