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