Appendix B Using the CompactFlash Disk
Working with a CompactFlash Disk
Table
Command and Arguments | Purpose |
|
|
delete [disk0:]filename | Deletes a file. |
| Allows you to delete any file you designate, where filename |
| designates the name of the file. |
|
|
dir [/all disk0:] | Lists files on a file system. |
| Allows you to list the contents of the CompactFlash Disk in slot 0. |
| The /all argument lists all files on all file systems in your system. |
|
|
format [bootflash: disk0:] | Formats a file system. |
| Allows you to format onboard flash memory (bootflash:) or a new |
| CompactFlash Disk (disk0:). This command also allows you to |
| reformat a CompactFlash 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 | Creates a new directory. |
| Allows you to create directories on a CompactFlash Disk, where |
| |
|
|
pwd | Displays current working directory. |
| Allows you to display the name of the CompactFlash Disk directory |
| in which you are currently working. |
|
|
rename [disk0:]filename [disk0:]filename | Renames a file. |
| Allows you to rename a file that is located on one CompactFlash |
| 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 | Removes an existing directory. |
| Allows you to remove a directory that currently exists on a |
| CompactFlash Disk, where |
| directory you want to remove. |
|
|
show [disk0:] | Lists information about CompactFlash Disk format and geometry. |
|
|
Using Software Commands
This section provides examples of some of the basic software commands you can use with the CompactFlash Disk. See Table
•Using the cd Command, page
•Using the show Command, page
•Using the pwd Command, page
•Using the dir Command, page
•Using the format Command, page
•Using the mkdir Command, page
Cisco 7201 Installation and Configuration Guide
| ||
|