Re: [libvirt] [PATCH] Ignore char devices in storage pools by default

2014-03-20 Thread Ján Tomko
On 03/20/2014 05:45 PM, Eric Blake wrote: > On 03/20/2014 10:08 AM, Ján Tomko wrote: >> Without this, using /dev/mapper as a directory pool >> fails in virStorageBackendUpdateVolTargetInfoFD: >> cannot seek to end of file '/dev/mapper/control': Illegal seek >> >> Skip over character devices by defa

Re: [libvirt] [PATCH] Ignore char devices in storage pools by default

2014-03-20 Thread Eric Blake
On 03/20/2014 10:08 AM, Ján Tomko wrote: > Without this, using /dev/mapper as a directory pool > fails in virStorageBackendUpdateVolTargetInfoFD: > cannot seek to end of file '/dev/mapper/control': Illegal seek > > Skip over character devices by default. I agree that character devices can't serve

[libvirt] [PATCH] Ignore char devices in storage pools by default

2014-03-20 Thread Ján Tomko
Without this, using /dev/mapper as a directory pool fails in virStorageBackendUpdateVolTargetInfoFD: cannot seek to end of file '/dev/mapper/control': Illegal seek Skip over character devices by default. https://bugzilla.redhat.com/show_bug.cgi?id=710866 --- src/storage/storage_backend.h | 1 -