Re: [libvirt] [PATCH] qemu-ns: Detect /dev/* mount point duplicates even better

2017-11-08 Thread Ján Tomko
On Wed, Nov 08, 2017 at 04:09:57PM +0100, Michal Privoznik wrote: In 4f1570720218302 I've tried to make duplicates detection for nested /dev mount better. However, I've missed the obvious case when there are two same mount points. For instance if: # mount --bind /dev/blah /dev/blah # mount

Re: [libvirt] [PATCH] qemu-ns: Detect /dev/* mount point duplicates even better

2017-11-08 Thread Daniel P. Berrange
On Wed, Nov 08, 2017 at 04:09:57PM +0100, Michal Privoznik wrote: > In 4f1570720218302 I've tried to make duplicates detection for > nested /dev mount better. However, I've missed the obvious case > when there are two same mount points. For instance if: > > # mount --bind /dev/blah /dev/blah >

[libvirt] [PATCH] qemu-ns: Detect /dev/* mount point duplicates even better

2017-11-08 Thread Michal Privoznik
In 4f1570720218302 I've tried to make duplicates detection for nested /dev mount better. However, I've missed the obvious case when there are two same mount points. For instance if: # mount --bind /dev/blah /dev/blah # mount --bind /dev/blah /dev/blah Yeah, very unlikely but possible.