Yes, it is what i'm doing now: ps -C qemu-nbd -o cmd='.

Thanks!

--
    Nikolay Ivanets
    Mobile: +380979184774
    Skype: n_ivanets

2017-02-07 17:36 GMT+02:00 Eric Blake <[email protected]>:

> 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
>
>

Reply via email to