[Qemu-discuss] qemu-nbd: knowing which nbd device number to connect
From:
Raphael Bauduin
Subject:
[Qemu-discuss] qemu-nbd: knowing which nbd device number to connect
Date:
Wed, 25 Sep 2013 11:09:05 +0200
Hi,
I'm accessing qcow2 images via nbd. This is done with a command as qemu-nbd -c /dev/nbd0 /path/to/image.qcow
When making several images available, I use subsequent numbers for the /dev/nbd device to attach to. Is there a way to get the first available nbd device number ?