Chapter 5 file system operations, 1 introduction to file storage devices, 2 file system operation configuration task list – PLANET XGS3-24040 User Manual

Page 75: Ntroduction to, Torage, Evices, Ystem, Peration, Onfiguration, Ask list

Advertising
background image

Chapter 5 File System Operations

5-1

Chapter 5 File System Operations

5.1 Introduction to File Storage Devices

File storage devices used in switches mainly include FLASH cards. As the most common storage device,

FLASH is usually used to store system image files (IMG files), system boot files (ROM files) and system

configuration files (CFG files).

Flash can copy, delete, or rename files under Shell or Bootrom mode.

5.2 File System Operation Configuration Task list

1. Mounting and unmounting operations of memory cards

2. The formatting operation of storage devices

3. The creation of sub-directories

4. The deletion of sub-directory

5. Changing the current working directory of the storage device

6. The display operation of the current working directory

7. The display operation of information about a designated file or directory

8. The deletion of a designated file in the file system

9. The renaming operation of files

10. The copying operation of files

1. Mounting and unmounting operations of memory cards

Command

Explanation

Admin Configuration Mode

mount <device>

unmount <device>

Mount and unmount memory cards.

2. The formatting operation of storage devices

Command

Explanation

Admin Configuration Mode

format <device>

Format the storage device.

3. The creation of sub-directories

Command

Explanation

Admin Configuration Mode

mkdir <directory>

Create a sub-directory in a designated

directory on a certain device.

Advertising