4.2. Adding Support for File Systems and Related Hardware to your System Image

To configure your system image with support for file systems and related hardware through the configurator( 1CC) command-line interface, follow the procedure below.

  1. Change to the directory where you build system images:

    host% cd 
    build_dir
  2. Use the hints in the following tables to set features and tunables for the file system support needed.

    The configurator command to set features and tunables takes the form:

    host% configurator -set 
    feature | tunable=value

    The following table lists the feature and tunable settings required for your C5 system to support the media on which you use file systems.

    Table 4.2. Media Support

    To include support for:Set:Comments
    IDE hard disk drivesDEV_DISK=trueEnables support for hard disk drives connected to compatible IDE, ST506 and ESDI controllers.
    RAM disk memory

    RAM_DISK=true

    iom.ramdiskX.size= size_in_hex

    iom.ramdisk.sizeMax= max_RAM_disk_size

    iom.ramdiskX.size, where X is a hexadecimal digit 0, 1, 2, :, d, e, f, takes a size in the same hexadecimal format as the value for iom.ramdisk.sizeMax. For example, if you want to have one 4MB RAM disk use iom.ramdisk0.size= 0x40000.

    SCSI hard disk drivesSCSI_DISK=true

    Enables support for SCSI-PCI I/O processors of the NCR53C8xx family.

    SCSI CD-ROM disk drivesDEV_CDROM=true

    Enables support for SCSI CDROM drives.

    flash device used as diskFLASH=true

    Enables the flash driver used for making filesystem on top of flash device

    The following table summarizes the feature and tunable settings required for your C5 system to support specific file systems.

    Table 4.3. File System Support

    To include support for:

    Set:

    Comments

    FAT (MS-DOS) file systems

    MSDOSFS=true

    iom.nbuf=32 (at least)

     

    NFS client capability (for mounting NFS file systems)

    NFS_CLIENT=true

    iom.nbuf=8 (at least)

     

    NFS server capability (for exporting file systems)

    NFS_CLIENT=true

    NFS_SERVER=true

    iom.kmemsize=0x80000 (at least)

    iom.nbuf=8 (at least)

    The C5 system can export only local UFS file systems through NFS.

    MS-DOS file systems cannot be exported through NFS.

    Swap file system

    FS_MAPPER=true

    ON_DEMAND_PAGING= true (except for PowerPC target family architectures)

    Swap may only be used on local media.

    Only one swap device may be used.

    Swap is only available in the VM memory model, where VIRTUAL_ADDRESS_SPACE =true.

    UNIX (UFS) file systems

    UFS=true

    iom.nbuf=8 (at least)

     

    ISO 9660

    ISOFS=true

    iom.nbuf=8 (at least)

    File System used on CD-ROM media

    The iom.nbuf tunable sets the number of buffer cache entries; the standard buffered entries used for input and output. The larger the value, the larger the cache available. The iom.nbuf tunable influences the amount of RAM used by the system.

    The iom.kmemsize tunable sets the amount of memory available to the kernel.

  3. Build the system image to include the modifications you have made:

    host% make 
    system_image_name