5-2
The default names and types of the application files and their loading priorities for booting are as
follows.
z
Main application file. The default name is main.bin, and the file type is M. It is the default application
file used for booting.
z
Backup application file. The default name is backup.bin, and the file type is B. When the boot using
the main application file fails, the system boots using the backup application file.
z
Secure application file. The default name is secure.bin, and the file type is S. When boot using the
backup application file fails, the system tries the secure application file. If the boot using the secure
application file fails, the system prompts a boot failure.
Note that:
z
The application files for system boot can be type M, B and S, but not type N/A.
z
After the application program is loaded, you can rename the application files through the command
line interface (CLI) or change the file type (M, B or N/A) through the BootWare menu or the CLI.
However, you cannot change the file type of the S-type application file.
z
As the secure application file is the last resort for system boot, you cannot change the type of the
secure application file, or change other types of files to the secure application file. You can only
download it by selecting the “Update Secure Application File” option on the BootWare menu.
z
Only one file of the same type (M, B, or S) can exist on the CF card. For instance, if an application
file of type M+B exists on the CF card, another file of type M or B cannot exist. If the type of another
file is changed to B, the existing type M+B file changes to a file of type M.
Configuration Files
Configuration files store configuration information of the access controller, with the extension of
.cfg
.
Typically, the access controller has no configuration file when it is delivered.
The configuration files generated by users are saved in the built-in CF card, with the default name
startup.cfg
.
z
The length of a configuration file name must no exceed 64 characters (including the drive name
and the string terminator). For example, if the drive name is
cfa0:/
, the maximum length of a file
name is [64–1–6] = 57 characters.
z
If the length of a file name exceeds 57 characters, error will occur in file operations on that file.
Generally, it is recommended to keep the file name within 16 characters.
z
There is a limitation on the length of file name that can be displayed in BootWare. If a file name is
shorter than 30 characters, all the characters of the file name can be displayed; if a file name has or
exceeds 30 characters, only the first 26 characters of the file name can be displayed, followed by a
tilde (~) and a serial number. The serial number identifies position in sequence of the file. For
example, if three files, file A, file B and file C, have a file name longer than 30 characters, the name
of file A will appear as the first 26 characters plus ~001, that of file B will appear as the first 26
characters plus ~002, and that of file C will appear as the first 26 characters plus ~003.