Pierre Labastie wrote:
> 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.
So how to they propose to solve the sr0 problem.
> ---------
> 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...
BTW, I've used kvm and qemu and have never seen any partitions other
than [hs]d[a-z][0-9] either. I suppose it depends on the drivers used
in the kernel. Perhaps they are talking about bsd.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page