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.
•
A file or directory whose name starts with a period (.) is considered a hidden file or directory. Do not
•
give a common file or directory a name that starts with a period.
•
Some system files and directories are hidden.
File name formats
When you specify a file, enter the file name in one of the formats shown in
a directory, follow the rules for the drive and path arguments.
Table 12 File name formats
Format
file-name
[path/]file-name
drive:/[path]/file-name
Description
Specifies a file in the current working
directory.
Specifies a file in a specific folder in the
current working directory.
The path argument represents the path
to the file. If the file is in a single-level
folder, specify the folder name for the
argument. If the file is in a nested
folder, separate each folder name by a
forward slash (/).
Specifies a file in a specific storage
medium on the device.
The drive argument represents the
storage medium name.
The storage medium on the master is
flash. The storage medium on a
subordinate device is slotn#flash,
where n represents the member ID of
the subordinate device, for example,
slot2#flash. To view the
correspondence between a member
device and its member ID, use the
display irf command.
75
Table 1
1. When you specify
Example
a.cfg indicates a file named a.cfg in the
current working directory.
This working directory might be on the
master device or a subordinate device.
•
test/a.cfg indicates a file named a.cfg
in the test folder in the current working
directory.
•
test/subtest/a.cfg indicates a file
named a.cfg in the subtest subfolder
of the test folder in the current working
directory.
•
flash:/test/a.cfg indicates a file
named a.cfg in the test folder in the
root directory of the master's Flash
memory.
•
slot2#flash: a.cfg indicates a file
named a.cfg in the root directory of
the Flash on the member device 2.