5. Using the CLI Shell
ROS® v3.11User Guide
100
RMC30
5.4. Managing The Flash Filesystem
The flashfiles command is an interface to three utilities for obtaining information about and for
managing the Flash filesystem maintained by ROS®:
• Flash filesystem statistics display.
• Detailed information about a specific file.
• Flash filesystem defragmentation tool.
>help flashfiles
A set of diagnostic commands to display information about the Flash filesystem
and to defragment flash memory.
flashfiles
When no parameters are provided, statistics about the Flash memory and
filesystem are printed.
flashfiles info [filename]
Provides information about a specific file in the Flash filesystem.
flashfiles defrag
Defragments files in the Flash filesystem.
Figure 5.3. Flashfiles command summary
5.4.1. Flash Filesystem Memory Mapping
When the flashfiles command is invoked with no arguments, a listing is displayed of files
currently in Flash memory, their locations, and the amount of memory they consume:
>flashfiles
--------------------------------------------------------------------------------
Filename Base Size Sectors Used
--------------------------------------------------------------------------------
boot.bin 00000000 0C0000 0-11 748878
main.bin 000C0000 2A0000 12-53 2726050
fpga.xsvf 00360000 010000 54-54 55784
syslog.txt 00370000 050000 55-59 278721
banner.txt 003C0000 010000 60-60 256
crashlog.txt 003D0000 010000 61-61 256
config.bak 003E0000 010000 62-62 20456
config.csv 003F0000 008000 63-63 20456
factory.txt 003FC000 004000 66-66 512
--------------------------------------------------------------------------------
Figure 5.4. Flashfile Memory Mapping Summary
5.4.2. Obtaining Information On A Particular File
When the flashfiles command is invoked with the key word, info, followed by the name of a file
in memory as arguments, detailed information is displayed for the named file. For example: