summaryrefslogtreecommitdiffstats
path: root/python/examples/create_disk.py
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-08-08 18:52:23 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-08-08 18:52:23 +0100
commit2c57305f72cd6181d1849ae6e1b892aa01c7f844 (patch)
tree84327104d7c7c40250a6d72d1aad29ef5129ac0d /python/examples/create_disk.py
parentf7d18c84dde596699ffc5100fec2cf7b0d582450 (diff)
downloadlibguestfs-2c57305f72cd6181d1849ae6e1b892aa01c7f844.tar.gz
libguestfs-2c57305f72cd6181d1849ae6e1b892aa01c7f844.tar.xz
libguestfs-2c57305f72cd6181d1849ae6e1b892aa01c7f844.zip
inspection: Better checking for Windows root disks (RHBZ#729075).
Previously any disk that had /autoexec.bat or /boot.ini or /ntldr would be picked up as a candidate for a Windows root disk. If further checking could not find any systemroot (eg. /windows) then this would result in complete failure of inspection. In particular, this got confused by Hp_recovery partitions which have /autoexec.bat, but don't have a systemroot in one of the usual places (they have /MiniNT instead). What we do now is to properly investigate all possible systemroot places before deciding this is a Windows systemroot, so the subsequent failure cannot occur. (Thanks to lorimar for reporting this bug).
Diffstat (limited to 'python/examples/create_disk.py')
0 files changed, 0 insertions, 0 deletions