Appendix B
Formatting the Flash Memory
3
1579
15912960 bytes total (2998272 bytes free)
Router# show slot0:
-#- --length-- -----date/time------ path
1
2
3
25260032 bytes available (6672384 bytes used)
Displaying Geometry and Format Information
To display the geometry and format information of flash memory formatted with a Class C flash file
system, use the show {flash: | slot0:} filesys command.
The following example shows sample output for displaying the geometry and format information of
external Cisco flash memory:
Router# show slot0: 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
Delete Files from Flash Memory
To delete a file from flash memory, use the delete {flash: | slot0:} command.
The following example shows sample output for deleting a Cisco IOS file from internal flash memory:
Router# delete flash:c2430-is-mz.tmp
Delete filename [c2430-is-mz.tmp]?
Delete flash:c2430-is-mz.tmp? [confirm]
Router# dir flash:
Directory of flash:/
No files in directory
128094208 bytes total (128094208 bytes free)
Rename a File
To rename a file in flash memory, use the rename {flash: | slot0:} command.
OL-4306-03
-rw-
6455048
Mar 01 2001 00:04:06
-rw-
6458584
Mar 01 2001 00:24:38
6658376 Mar 01 1993 00:29:52 c2430-is-mz
2124 Mar 01 1993 00:34:38 running-config
2622 Mar 01 1993 00:34:44 startup-config
4
490
32
512
62720
31
8
7796
155
93
187
Cisco IAD2430 Series Integrated Access Devices Software Configuration Guide
File and Directory Operations
c2430-is-mz
c2430-is-mz.new
B-9