summaryrefslogtreecommitdiffstats
path: root/ruby/lib
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-17 13:05:22 +0100
commitf5036236ffd4420c6d7e42a5738b2be7d1f6cc3c (patch)
tree02a120670845ae706f3859a750172bf44590bb1f /ruby/lib
parent1f980d1b103bae48b4c27164a7588466ba9ad5cb (diff)
downloadlibguestfs-f5036236ffd4420c6d7e42a5738b2be7d1f6cc3c.tar.gz
libguestfs-f5036236ffd4420c6d7e42a5738b2be7d1f6cc3c.tar.xz
libguestfs-f5036236ffd4420c6d7e42a5738b2be7d1f6cc3c.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). Cherry picked from commit 2c57305f72cd6181d1849ae6e1b892aa01c7f844 and backported to stable-1.10 branch.
Diffstat (limited to 'ruby/lib')
0 files changed, 0 insertions, 0 deletions