On Tue, Feb 07, 2017 at 04:25:27PM +0200, Nikolay Ivanets wrote:
> Is there any way to find source file supplied for qemu-nbd similar to loop
> device:
> 
> cat /sys/block/loop0/loop/backing_file

Nothing simple like that - you have to find the qemu-nbd process and see
what file(s) it has open I'm afraid and figure out which is the image file
from there.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

Reply via email to