summaryrefslogtreecommitdiffstats
path: root/python/t/010-basic.py
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-06-13 22:09:13 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-07 11:22:41 +0100
commit8deae6d2cc27f84d8b1c7112de2b41a2346670b8 (patch)
tree739781321fadb70bc23b694cc817025733108dcd /python/t/010-basic.py
parent293a2a108dac3865fcd8e44f92fcc2deb42f9eec (diff)
downloadlibguestfs-8deae6d2cc27f84d8b1c7112de2b41a2346670b8.tar.gz
libguestfs-8deae6d2cc27f84d8b1c7112de2b41a2346670b8.tar.xz
libguestfs-8deae6d2cc27f84d8b1c7112de2b41a2346670b8.zip
New API: device-index.
This returns the index of the device, eg. /dev/sdb => 1. Or you can think of it as the order that the device was added, or the index of the device in guestfs_list_devices. (cherry picked from commit a9d7d044f552855a7ef78d953c0c2672e35bfc80)
Diffstat (limited to 'python/t/010-basic.py')
0 files changed, 0 insertions, 0 deletions