ChorusOS 4.0 File System Administration Guide

3.1 How to Format a Flash Memory Device

You must format Flash memory before you can label it. If your target does not have Flash memory, you can skip this section.


Caution - Caution -

The following procedure initializes the Flash memory device, erasing all existing data. Be sure to back up existing data on the device before proceeding.


Formatting a Flash Memory Device
  1. Make sure that you have configured your system image with the FLASH feature set to true:


    host% cd build_dir
    host% configurator -list features | grep FLASH
    FLASH bool 'true'
  2. Reboot the target system with a system image that supports Flash memory and includes the special files needed to access it.

  3. Format the Flash memory using the format(1M) command:


    host% rsh target arun /bin/format /dev/rflash0a