Managing the file system
This chapter describes how to manage the device's file system, including the storage media, directories,
and files.
IMPORTANT:
Before managing storage media, files, and directories, make sure you know the possible impacts.
•
Some files and directories are hidden. For normal operation of the system, do not modify or delete
•
hidden files or directories.
Storage medium naming rules
The device supports the following types of storage media: Flash, CF card, and USB disk. These storage
media are named according to the following rules:
If a storage medium is the only storage medium of its type on the device, it is named by its type. For
•
example, if the device has only one Flash, the name of the Flash is flash.
If multiple storage media of the same type exist on the device, the physical device name of a storage
•
medium is composed of the storage medium type and the sequence number of the storage medium.
A sequence number is an English letter such as a, b, or c. For example, for a device with multiple
CF cards, the physical device name of the first CF card is cfa0, and that of the second is cfb0, and
so on.
If a storage medium is partitioned, the name of a partition is composed of the physical device name
•
and the partition number. The sequence numbers of partitions are numbers such as 0, 1, and 2. For
a device with only one CF card, for example, the name of the second partition of the CF card is cf1;
for a device with multiple CF cards, the name of the third partition of the second CF card is cfb2.
If there is only one partition on a CF card, the partition name is the physical device name followed
by 0, such as cf0.
File name formats
When you specify a file name, enter the file name in one of the formats shown in
When you specify a directory name, follow the rules for the drive and path arguments. A file or directory
name that starts with a dot (.) is considered a hidden file or directory.
Table 11 File name formats in standalone mode
Format
file-name
Description
Specifies a file in the current working
directory.
78
Table 1 1
Example
a.cfg indicates a file named a.cfg in the
current working directory.
This working directory might be on the
active MPU or standby MPU.
and
Table
12.