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)
* Require PCRE library.Richard W.M. Jones2011-07-261-4/+2
| | | | | This library is widely available in distros. (cherry picked from commit 41cd0e302d6554facd6b9f7daaa78304361efaef)
* inspect: Look for %systemroot%/system32 for Windows heuristic.Richard W.M. Jones2011-04-211-3/+3
| | | | | The virt-v2v transfer ISO had a /windows directory. The core inspection code thought this was a Windows root filesystem.
* inspect: "centos" and "scientificlinux" are now separate distros.Richard W.M. Jones2011-04-211-0/+4
| | | | Previously we returned "rhel" for these, which was not accurate.
* inspect: Split code into separate files.Richard W.M. Jones2011-04-141-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