|
|
||
|
||
|
|
| Red Hat Documentation |
5. Build A JavaStation-Ready FileSystemThis chapter details how one constructs a filesystem suitable for use on the Linux-running JavaStations. 5.1. Preparing Yourself to Build Your Own FilesystemBuilding a filesystem for use with the JavaStations is a time-consuming, but rewarding task for those who undertake it. You will learn more about library dependencies than you ever thought you could, all the time while trying to keep the overall image size as small as possible. There are two common approaches one can take when rolling a new JavaStation-ready filesystem.
Which path you take, of course, is entirely up to you. The "rescue disk" build procedure seems to work best though, as more base commands in a rescue disk are statically linked, increasing the starting image size but causing less initial library headaches. Obviously when building a filesystem in the context of the JavaStation, you will be basing off of an existing Linux/SPARC filesystem. The filesystems that come with the RedHat and Debian distributions are good starting points.
5.2. Contents of the "/etc/fstab" FileThe configuration lines placed into "/etc/fstab" depend on whether you will be using the "NFS-Root" or "Embedded-Root" filesystem configuration. 5.2.1. "NFS-Root" Filesystem fstabHere is an example of an "/etc/fstab" for an "NFS-Root" boot option.
5.2.2. "Embedded-Root" Filesystem fstabHere is an example of an "/etc/fstab" for an "Embedded-Root" boot option.
5.3. The "Embedded-Root" Image Creation ProcedurePrepping up the "Embedded-Root" boot image requires a number of extra steps. Due to these extra steps, the "NFS-Root" filesystem option is recommended for beginners to Linux on the JavaStation. You might also try the samples pointed to in this document. Should you still wish to build and embedded image on your own, this section outlines the basic instructions. Creating the "Embedded-Root" boot image is a 5-Step Procedure:
Congratulations! You've created an "Embedded-Root" kernel/filesystem boot image. 5.4. Sample FileSystemsHere are some sample filesystems for you to start with. A filesystem image contributed by Varol Kapton <varol@ulakbim.gov.tr> is at: http://www.mscs.mu.edu/~tech/Linux_on_JS/Files/jsroot_varol.tar.gz |
|
|