ChorusOS 4.0 File System Administration Guide

2.2 How to Add Support for File Systems and Related Hardware

Adding Support Using the Graphical User Interface Tool

To configure your system image with support for file systems and related hardware through the ews graphical user interface, follow the procedure below.

  1. Open your system image configuration in ews:


    host% cd build_dir
    host% ews conf/ChorusOS.xml &
    
  2. Use the hints in the following tables to set features and tunables for the file system support needed.

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

    Table 2-2 Media Support

    To include support for... 

    Set... 

    Comments 

    Flash memory 

    FLASH=true 

    Flash memory supports only FAT (MS-DOS) file systems.

    IDE hard disk drives

    IDE_DISK=true 

    Enables 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 drives

    SCSI_DISK=true 

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

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

    Table 2-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 ChorusOS 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) 

    UFS file systems cannot be used on flash 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. Save your changes to the system image configuration.

  4. Build the system image.

Adding Support Using Command-Line Tools

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 tables above (see Step 2) to set features and tunables for the file system support needed.

    configurator(1CC) commands to set features and tunables take the form:


    host% configurator -c conf/ChorusOS.xml -set feature | tunable=value
    
  3. Build the system image to include the modifications you have made:


    host% make system_image_name