On 02/07/2017 08:25 AM, 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

qemu-nbd is userspace, so there's no way it will be found in /sys/.  But
since it is userspace, is it not sufficient to just use 'ps' or
/proc/$n/cmdline to determine what command line qemu-nbd was started with?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to