summaryrefslogtreecommitdiffstats
path: root/src/inspect_fs_unix.c
Commit message (Collapse)AuthorAgeFilesLines
* inspect: Handle cciss devices in /etc/fstabMatthew Booth2011-10-191-0/+32
|
* inspect: Add drive naming hintsMatthew Booth2011-10-191-19/+36
| | | | | | | | | | | We currently use a heuristic to guess how drive names we find referenced in the guest map to drive names in the appliance. If this heuristic fails it can cause inspection to fail. This change adds a new 'name' option to add_drive_opts, which allows the user to explicitly pass the name of a drive to libguestfs if it is known. This change also updates the fstab-parsing inspection code to use this information if it is available.
* NFC: Remove unnecessary gotoMatthew Booth2011-10-191-7/+5
|
* inspect: Fix fstab device mapping for >26 disksMatthew Booth2011-10-191-20/+31
| | | | | The regular expression matching disk name assumed that there was only a single letter suffix. This change handles a naming scheme for any number of disks.
* Add basic support for netbsd detection.Michael Scherer2011-10-141-0/+46
|
* Add Opensuse and zypper detection supportMichael Scherer2011-10-141-0/+10
| | | | This would also erronously detect SLES as Opensuse.
* Detect Mageia distributionMichael Scherer2011-10-141-0/+5
|
* inspection: Handle /dev/root in /etc/fstab.Richard W.M. Jones2011-09-161-0/+3
| | | | | | | This means "the device that holds /etc/fstab", so map it correctly. This fixes support for ttylinux and also some other guests that use /dev/root instead of a real device name.
* inspection: Add support for ttylinux (a minimal Linux).Richard W.M. Jones2011-09-161-0/+10
|
* Don't fail if HOSTNAME field is missing on Red Hat guests (RHBZ#726739).Richard W.M. Jones2011-07-291-3/+10
|
* Require PCRE library.Richard W.M. Jones2011-07-251-4/+2
| | | | This library is widely available in distros.
* inspect: "centos" and "scientificlinux" are now separate distros.Richard W.M. Jones2011-04-211-3/+71
| | | | Previously we returned "rhel" for these, which was not accurate.
* inspect: Split code into separate files.Richard W.M. Jones2011-04-141-0/+785
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