Datasheet

1-13
Memory Replacement Instructions for the Network Processing Engine or Network Services Engine and Input/Output Controller
OL-8358-03
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information
Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card
Table 1-4 Flash Disk-Related Software Commands
Command and Arguments Purpose
cd [dev:]directory-name
1
1. This command does not work with a PC Card.
Changes current directory.
Allows you to move between directories on a file system, where
directory-name is the directory to which you want to move.
copy [dev:]source-filename
[dev:]destination-filename
Copies from one file to another.
Allows you to make a copy of a file (source-filename) located on a
source file system (dev:) and place it with either the same filename
or a different filename (destination-filename) on a destination file
system.
delete [dev:]filename
Deletes a file.
Allows you to delete any file you designate, where filename
designates the name of the file.
dir [/all | dev:]
Lists files on a file system.
Allows you to list the contents of the Flash Disks in PC Card slots
0 and 1. The /all argument lists all files on all file systems in your
system.
format [flash: | bootflash: | dev:]
Formats a file system.
Allows you to format a linear Flash memory card (flash:), onboard
Flash memory (bootflash:), Flash Disk (disk0: or disk1:), or
Compact Flash Disk (disk2:). This command also allows you to
reformat a linear Flash memory card or Flash Disk that was
formatted on another type of system.
Note This command destroys all data currently in Flash memory;
therefore, we strongly recommend that you use the format
command with caution to prevent irretrievable loss of data.
mkdir [dev:]directory-name
1
Creates a new directory.
Allows you to create directories on a Flash Disk, where
directory-name is the name you assign to this directory.
pwd
1
Displays current working directory.
Allows you to display the name of the Flash Disk directory in which
you are currently working.
rename [dev:]filename
[dev:]filename
Renames a file.
Allows you to rename a file that is located on one Flash Disk and
assign to that file another (or the same) file system path and
filename. The first group of arguments defines the source (current)
file system path and filename, and the second set of arguments
defines the destination file system path and filename.
rmdir [dev:]directory-name
1
Removes an existing directory.
Allows you to remove a directory that currently exists on a Flash
Disk, where directory-name is the name of the directory you want
to remove.
show [dev:]
Lists information about Flash Disk format and geometry.
show file systems
Displays a list of all defined file systems.