Le 06/04/2013 18:42, Bruce Dubbs a écrit :
> Pierre Labastie wrote:
> 

>> sed -i -r 's|(a-z\\])\+|\1\\{3\\}|' testsuite/vmstat.test/vmstat.exp
>> should be OK, even if it happens that a loop? is mounted and has more
>> than ten reads.
> 
> Since we are looking for *partitions*, [s|h]d[a-z]\d should identify them.

FYI, here is the answer of upstream about that:
---------
Assuming that disk names follow the [hs]d[a-z][0-9] format is a faulty 
assumption.

KVM disks are /dev/vd[a-z][0-9], Xen are /dev/xvd[a-z][0-9] for example.

---------
I am amazed about KVM disks, because I always got sda[0-9]+ when using
qemu-kvm. Maybe they mean virtio disks.
I have never used Xen...

Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to