Datasheet

17
Using the Flash Disk
OL-6452-04
Working with a Flash Disk
File Systems:
Size(b) Free(b) Type Flags Prefixes
(Additional displayed text omitted from this example.)
48755200 48747008 flash rw disk0:
7995392 4717276 flash rw slot1:
Table 5 lists the software commands that you can use with the Flash Disk.
Note You can use other arguments with some of the commands listed in Table 5; however, in Table 5 and
throughout this document, command arguments are limited to those that apply to the Flash Disk and
related file systems.
For a discussion of additional command arguments, refer to the Configuration Fundamentals Command
Reference document, in the chapter “File Management Commands.
Table 5 Flash Disk-Related Software Commands
Command and Arguments Purpose
cd [disk0: | disk1:]directory-name
Changes current directory.
Allows you to move between directories on a Flash Disk, where
directory-name is the directory to which you want to move.
copy [disk0: | disk1:]source-filename
[disk0: | disk1:]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 (disk0:, disk1:, and so forth) and place it with
either the same filename or a different filename
(destination-filename) on a destination file system. Along with
disk0: and disk1:, the source and destination file system arguments
include, but are not limited to:
bootflash: (onboard Flash memory)
nvram: (onboard nonvolatile random-access memory)
running-config (the running system configuration file)
startup-config (the startup system configuration file)
tftp: (a TFTP server to which you have access)
delete [disk0: | disk1:]filename
Deletes a file.
Allows you to delete any file you designate, where filename
designates the name of the file.
dir [/all | disk0: | disk1:]
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.