summaryrefslogtreecommitdiffstats
path: root/src/inspect_fs.c
Commit message (Collapse)AuthorAgeFilesLines
* inspection: Better checking for Windows root disks (RHBZ#729075).Richard W.M. Jones2011-08-171-21/+9
| | | | | | | | | | | | | | | | | | | | 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.
* inspect: Look for %systemroot%/system32 for Windows heuristic.Richard W.M. Jones2011-04-241-3/+3
| | | | | | The virt-v2v transfer ISO had a /windows directory. The core inspection code thought this was a Windows root filesystem. (cherry picked from commit 0da6f55a6745686ca056c6bc8ebf647f111cb8e8)
* inspect: "centos" and "scientificlinux" are now separate distros.Richard W.M. Jones2011-04-241-0/+4
| | | | | Previously we returned "rhel" for these, which was not accurate. (cherry picked from commit 2b0ca7e7b8d369a42a51b1feec72ae8f17257c78)
* inspect: Split code into separate files.Richard W.M. Jones2011-04-181-0/+537
The src/inspect.c file had grown rather large -- 3,500 lines. Split it across several files according to function. This is just moving code. After the split the files are more evenly divided: 536 src/inspect_apps.c 766 src/inspect.c 537 src/inspect_fs.c 404 src/inspect_fs_cd.c 785 src/inspect_fs_unix.c 535 src/inspect_fs_windows.c 3563 total (cherry picked from commit 3336b5448f12c9eb25bf7a0cecda1315c4cf07ea)