File Operations on CompactFlash Memory Cards
Displaying Geometry and Format Information
To display the geometry and format information of a CF flash file system, enter the show flash0: filesys
command in privileged EXEC mode.
Note
Router# show flash0: filesys
******** ATA Flash Card Geometry/Format Info ********
ATA CARD GEOMETRY
Number of Heads:
Number of Cylinders
Sectors per Cylinder
Sector Size
Total Sectors
ATA CARD FORMAT
Number of FAT Sectors
Sectors Per Cluster
Number of Clusters
Number of Data Sectors 62560
Base Root Sector
Base FAT Sector
Base Data Sector
Deleting Files
To delete a file from a CF memory card, enter the delete flash0: command.
Note
Use
CF in slot 0.
The dir flash0: command does not display deleted files and files with errors.
Note
Renaming Files
To rename a file on a CF memory card, enter the rename command in privileged EXEC mode.
Note
Router# dir flash0:
Directory of flash0:/
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
B-6
Use
in the command syntax to access CF in slot 1. Use
flash1:
to access CF in slot 0.
4
490
32
512
62720
31
8
7796
155
93
187
in the command syntax to access CF in slot 1. Use
flash1:
Use
in the command syntax to access CF in slot 1. Use
flash1:
to access CF in slot 0.
3
-rw-
6458388
Mar 01 2004 00:00:58 c2900-universalk9-mz.tmp
Appendix B
Using CompactFlash Memory Cards
in the command syntax
flash0:
: in the command syntax to access
flash0
: in the command syntax
flash0