summaryrefslogtreecommitdiffstats
path: root/python/examples
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-06 17:36:29 +0100
commit3004973f5cc97c9e2a0c22c33598235ae8220ea5 (patch)
tree1be5b5bb3f27f186b6bf79279869fa78e3991e60 /python/examples
parentf66b27ef2455969be7a5812914bda9023645d440 (diff)
downloadlibguestfs-3004973f5cc97c9e2a0c22c33598235ae8220ea5.tar.gz
libguestfs-3004973f5cc97c9e2a0c22c33598235ae8220ea5.tar.xz
libguestfs-3004973f5cc97c9e2a0c22c33598235ae8220ea5.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/examples')
0 files changed, 0 insertions, 0 deletions