summaryrefslogtreecommitdiffstats
path: root/python/examples/create_disk.py
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-06-29 16:45:07 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-06 17:36:29 +0100
commit9e38de7449cd746cca326b0f60091e0eb99bb89d (patch)
tree928c5c142b0dcc5e55c5e919bf7b6c1f1cbaf43a /python/examples/create_disk.py
parent3fe9235b90ec128cd59407100a1b49c7d4a581de (diff)
downloadlibguestfs-9e38de7449cd746cca326b0f60091e0eb99bb89d.tar.gz
libguestfs-9e38de7449cd746cca326b0f60091e0eb99bb89d.tar.xz
libguestfs-9e38de7449cd746cca326b0f60091e0eb99bb89d.zip
inspect: Guess device name from /dev/disk/by-id/*-partN path (RHBZ#627675).
See https://bugzilla.redhat.com/show_bug.cgi?id=836573#c3 for an explanation. Useful function 'is_partition' shows how to tell if a device name represents a partition. (cherry picked from commit 7eaa99994ebd354f4b078d4068695984989a907f)
Diffstat (limited to 'python/examples/create_disk.py')
0 files changed, 0 insertions, 0 deletions