In the spirit of the Linux community, Red Hat Software has made available their Linux distributions for several platforms on their FTP site. These are all available from the top distribution directory (pub/redhat/linux/). Let's have a look at the distribution tree.
The latest distribution is, as of this writing, available only for the i386 platform. The toplevel directory appears a bit shallow, given the presence of a single architecture. (pub/redhat/linux/8.0/en/os/ ).
i386/ |
Otherwise, the toplevel directory, for releases slightly older than 8.0, contains distributions for the different platforms. For example, the corresponding directory for release 7.1 of Redhat Linux, is structured this way:
alpha/ i386/ ia64/ ppc/ s390x/ |
The root of the i386 directory looks like this:
-rwxr-xr-x 1 root root 248 Sep 10 21:19 autorun drwxr-xr-x 7 root root 4096 Oct 25 10:43 dosutils -rwxr-xr-x 1 root root 6194 Sep 10 21:19 EULA -rwxr-xr-x 1 root root 18385 Sep 10 21:19 GPL drwxr-xr-x 3 root root 4096 Oct 25 10:43 images drwxr-xr-x 2 root root 4096 Oct 25 10:43 isolinux -rw-r--r-- 1 root root 28320 Oct 24 22:36 pkgorder.txt -rwxr-xr-x 1 root root 5350 Sep 10 21:19 README -rwxr-xr-x 1 root root 13342 Sep 10 21:19 README-Accessibility -rwxr-xr-x 1 root root 5781 Sep 10 21:19 README.de -rwxr-xr-x 1 root root 5956 Sep 10 21:19 README.es -rwxr-xr-x 1 root root 6351 Sep 10 21:19 README.fr -rwxr-xr-x 1 root root 5684 Sep 10 21:19 README.it -rwxr-xr-x 1 root root 6836 Sep 10 21:19 README.ja -rwxr-xr-x 1 root root 6566 Sep 10 21:19 README.ko -rwxr-xr-x 1 root root 4965 Sep 10 21:19 README.zh_CN -rwxr-xr-x 1 root root 5267 Sep 10 21:19 README.zh_TW drwxr-xr-x 4 root root 4096 Oct 25 10:43 RedHat -rwxr-xr-x 1 root root 37493 Sep 10 21:19 RELEASE-NOTES -rwxr-xr-x 1 root root 47340 Sep 10 21:19 RELEASE-NOTES-de.html -rwxr-xr-x 1 root root 44726 Sep 10 21:19 RELEASE-NOTES-es.html -rwxr-xr-x 1 root root 47994 Sep 10 21:19 RELEASE-NOTES-fr.html -rwxr-xr-x 1 root root 42160 Sep 10 21:19 RELEASE-NOTES.html -rwxr-xr-x 1 root root 44680 Sep 10 21:19 RELEASE-NOTES-it.html -rwxr-xr-x 1 root root 56720 Sep 10 21:19 RELEASE-NOTES-ja.html -rwxr-xr-x 1 root root 50814 Sep 10 21:19 RELEASE-NOTES-ko.html -rwxr-xr-x 1 root root 37770 Sep 10 21:19 RELEASE-NOTES-zh_CN.html -rwxr-xr-x 1 root root 39122 Sep 10 21:19 RELEASE-NOTES-zh_TW.html -rwxr-xr-x 1 root root 1910 Sep 10 21:19 RPM-GPG-KEY -rwxr-xr-x 1 root root 338 Sep 10 21:56 TRANS.TBL |
The SRPMS directory contains the RPMS packages in source form.
The images directory contains boot and drivers floppy images that can be copied to a diskette if needed. In the 8.0 release, there are three boot disk images available. The first boot image is called boot.img, and is required when installation is performed directly from a CD-ROM. If installing from a NFS mounted disk or FTP is required, the bootnet.img disk image is needed. Installs through PCMCIA adapters need the pcmcia.img floppy. See section Installation and references therein for details and consult the README file in the directory for a more detailed explanation of the various files.
The isolinux directory contains the files needed to boot from the CD (and to rebuild bootable CDs which work the same way). This process was moved from floppy emulation to no emulation. This helps avoiding space constraints and compatibility problems.
The dosutils directory contains various programs for some other operating systems which are sometimes useful to support the installation process. An explanatory README file is included also in this case.
The listing is completed by a lot of files and the RedHat directory. The latter is the subject of the next sections while the formers have contents which will appear straightforward by simply reading their names (perhaps apart from the EULA, or End User License Agreement).
The most important part of the directory tree is rooted in the RedHat directory:
drwxr-xr-x 2 root root 53248 Jun 14 03:15 RPMS drwxr-xr-x 2 root root 4096 Jun 14 04:15 base |
The RPMS directory contains the major part of the Red Hat distribution consisting of a set of RPM (Redhat Package Manager) files. An RPM package typically contains binary executables, along with relevant configuration files and documentation. See the section RPM packages for more information.
The base directory holds different files needed during the installation process, like the comps.xml file, which defines the components (groups of packages) used during the "Choose packages to install" phase. See section The comps file for more information on this file, and how to use it.
Two other important files in the base directory are hdlist and hdlist2 containing most of the header fields from all the RPMs in the RPMS directory. This means that all the interdependencies among RPM packages can be determined just by reading these files without having to read all the RPM packages which is quite convenient especially during FTP installs. Another use of these files is mapping package names to file names (eg. perl to perl-5.004-6.i386.rpm). This means that if you want to incorporate updates from RedHat (see section Including the updates) or add your own packages to the RPMS directory, you need to update hdlist and hdlist2. This is described later in Rebuilding the installer. Besides these files, the images from which the installation environment (i.e. kernel, python interpreter, anaconda, etc.) is loaded are found.
The /pub/redhat/linux/updates directory has updates for all releases of RedHat's distribution since version 3.0.3. This is the place to find software packages that have been updated for some reason or other. You should especially be aware of security updates. These are publicised on RedHat's errata page whenever a fix is available. The most important files found in the updates directory are:
drwxrwsr-x 3 root root 4096 Jul 13 10:13 5.2 drwxrwsr-x 3 root root 4096 Jul 13 10:13 6.0 drwxrwsr-x 3 root root 4096 Jul 13 10:13 6.1 drwxrwsr-x 4 root root 4096 Jul 13 10:14 6.2 drwxrwsr-x 4 root root 4096 Jul 13 10:14 7.0 drwxrwsr-x 4 root root 4096 Jul 13 10:14 7.1 drwxrwsr-x 4 root root 4096 Jul 13 10:13 7.2 drwxrwsr-x 3 root root 4096 Jul 13 10:14 7.3 drwxrwsr-x 3 root root 4096 Jul 13 10:14 8.0 |
The structure of each of these directories is similar to that described in the section The Redhat 8.0 tree. So you will find for each version, in the subdirectory en/os/ a series of subdirectories representing the various architectures and a noarch and SRPMS subdirectories, for packages which work on every architecture or are in source form respectively.
drwxrwsr-x 2 root root 4096 Sep 23 05:28 SRPMS drwxrwsr-x 2 root root 4096 Aug 28 18:25 athlon drwxrwsr-x 2 root root 8192 Sep 23 05:28 i386 drwxrwsr-x 2 root root 4096 Jul 13 10:14 i486 drwxrwsr-x 2 root root 4096 Aug 28 18:26 i586 drwxrwsr-x 2 root root 4096 Aug 28 18:26 i686 drwxrwsr-x 2 root root 4096 Jul 13 10:14 noarch |
The two distributions are fairly similar in this respect. The only changes which are of some interest to us (and easy to notice with a simple inspection of the main distribution tree) are represented by a missing isolinux directory and some changes in the RedHat/base directory. The first one is due to the way the installation CDs are made bootable in releases prior to 8.0 ("floppy emulation" has been superseded by "no emulation" in release 8.0), while the second is an effect of the migration of the comps file format to XML in Redhat 8.0 (that's why it was renamed comps.xml). The Redhat/base/comps file is, in fact, a simple textual file with a quite inflexible syntax in releases prior to and including Redhat 7.3.
For release 6.2 ( pub/redhat/linux/6.2/en/os/), the last of the 6 series, the organization is the following (the previous releases are mostly similar if not really equal, in this respect):
alpha/ i386/ sparc/ |
While the root of the i386 directory looks like this:
-rw-r--r-- 1 root root 18385 Sep 7 1999 COPYING -rw-r--r-- 1 root root 3400 Mar 8 2000 README -rw-r--r-- 1 root root 16300 Mar 8 2000 RELEASE-NOTES -rw-r--r-- 1 root root 1908 Sep 25 1999 RPM-GPG-KEY drwxr-xr-x 1 root root 512 Sep 27 15:22 RedHat drwxr-xr-x 1 root root 17408 Sep 27 15:22 SRPMS -rwxr-xr-x 1 root root 538 Sep 26 1999 autorun -rwxr--r-- 1 root root 2048 Mar 9 2000 boot.cat drwxr-xr-x 1 root root 512 Sep 27 15:22 doc drwxr-xr-x 1 root root 512 Sep 27 15:22 dosutils drwxr-xr-x 1 root root 512 Sep 27 15:22 images drwxr-xr-x 1 root root 512 Sep 27 15:22 misc |
In the following paragraphs I will only list differences from the newest releases, what is not explicitly mentioned is (or is believed to be) unchanged.
The doc directory contains an abundance of information. Most importantly, the RedHat installation manual can be found in HTML format in the directory or on the Redhat website ( Redhat 6.2 Installation guide). Next, there are the reference guide and the getting started guide. The documentation for the 7.x/8.x releases is on a separate CD (in a different tree, on the ftp site).
The images directory contains boot floppy images that can be copied to a diskette if needed, like for 8.0 and 7.3. See section Installation and references therein for details. The misc directory contains source and executables of a number of programs needed for the installation.
The most important part of the directory tree is (again) rooted in the RedHat directory:
drwxr-xr-x 2 root root 28672 Oct 26 09:01 RPMS drwxr-xr-x 2 root root 4096 Oct 26 09:01 base -rw-r--r-- 1 root root 0 Jan 19 1999 i386 drwxr-xr-x 6 root root 4096 Oct 26 09:01 instimage |
The RPMS directory should be already known to you. See the section RPM packages for more informations. The base directory holds different book-keeping files needed during the installation process, like for releases 7.3 and 8.0. The only noticeable differences being represented by a single hdlist file and a missing stage2.img file whose functionalities should be provided by the files included in the instimage directory. This contains, in fact, a bare-bones live file system with a number of programs and shared libraries needed during the installation procedure.
The updates directory is really similar to the one described for release 8.0 with the only difference of having more architecture related directories.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |