diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-08-08 18:52:23 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-08-08 18:52:23 +0100 |
commit | 2c57305f72cd6181d1849ae6e1b892aa01c7f844 (patch) | |
tree | 84327104d7c7c40250a6d72d1aad29ef5129ac0d /python/examples/create_disk.py | |
parent | f7d18c84dde596699ffc5100fec2cf7b0d582450 (diff) | |
download | libguestfs-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