summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-03-16 10:42:46 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-03-16 10:43:27 +0000
commit5749de39c2b44644662fb176784731bce851b828 (patch)
treeda3034a664793062134d2ce6e0be352c7119906c
parent5411f3fd457a46f39ccbb317a2bbb5897731eef6 (diff)
downloadlibguestfs-5749de39c2b44644662fb176784731bce851b828.tar.gz
libguestfs-5749de39c2b44644662fb176784731bce851b828.tar.xz
libguestfs-5749de39c2b44644662fb176784731bce851b828.zip
inspect: Add comment documenting findings of RHEL 5, 6 install CDs.
-rw-r--r--src/inspect_fs_cd.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/inspect_fs_cd.c b/src/inspect_fs_cd.c
index df0e6bb4..a90da4bc 100644
--- a/src/inspect_fs_cd.c
+++ b/src/inspect_fs_cd.c
@@ -119,6 +119,63 @@ find_value (const char *kv)
return p;
}
+/* RHEL 5 has a DVD.iso and several CD-sized -discX-ftp.iso alternatives.
+ *
+ * The DVD.iso contains:
+ * /.treeinfo:
+ * [general]
+ * family = Red Hat Enterprise Linux Server
+ * timestamp = 1328200566.61
+ * totaldiscs = 1
+ * version = 5.8
+ * discnum = 1
+ * packagedir = Server
+ * arch = x86_64
+ * [...]
+ *
+ * /.discinfo:
+ * 1328205744.315196
+ * Red Hat Enterprise Linux Server 5.8 # product name
+ * x86_64 # arch
+ * 1 # disk number
+ * Server/base
+ * Server/RPMS
+ * Server/pixmaps
+ *
+ * The alternative CD-sized ISOs contain:
+ *
+ * disc1:
+ * /.treeinfo:
+ * [general]
+ * family = Red Hat Enterprise Linux Server
+ * timestamp = 1328200566.61
+ * totaldiscs = 1
+ * version = 5.8
+ * discnum = 1
+ * packagedir = Server
+ * arch = x86_64
+ * [...]
+ *
+ * /.discinfo:
+ * 1328205744.315196
+ * Red Hat Enterprise Linux Server 5.8 # product name
+ * x86_64 # arch
+ * 1 # disk number
+ * Server/base
+ * Server/RPMS
+ * Server/pixmaps
+ *
+ * discN (N > 1):
+ * /.discinfo:
+ * 1328205744.315196
+ * Red Hat Enterprise Linux Server 5.8 # product name
+ * x86_64 # arch
+ * 2 # disk number
+ * Server/base
+ * Server/RPMS
+ * Server/pixmaps
+ */
+
/* Fedora CDs and DVD (not netinst). The /.treeinfo file contains
* an initial section somewhat like this:
*
@@ -218,6 +275,7 @@ check_fedora_installer_root (guestfs_h *g, struct inspect_fs *fs)
* Look for the "menu title" line which contains:
* menu title Welcome to Fedora 14! # since at least Fedora 10
* menu title Welcome to Red Hat Enterprise Linux 6.0!
+ * menu title Welcome to RHEL6.2-20111117.0-Workstation-x!
*/
static int
check_isolinux_installer_root (guestfs_h *g, struct inspect_fs *fs)