March 2002

File and Directory Procedures

Router# show slot0:

-#- --

length-- -----

date/time------

path

16658376 Mar 01 1993 00:29:52 c3725-i-mz

22124 Mar 01 1993 00:34:38 running-config

32622 Mar 01 1993 00:34:44 startup-config

25260032 bytes available (6672384 bytes used)

Router# dir slot0:

Directory of slot0:/

3

-rw-

6455048

Mar

01

2001

00:04:06

c3725-i-mz

1579

-rw-

6458584

Mar

01

2001

00:24:38

c3725-i-mz.new

15912960 bytes total (2998272 bytes free)

Display geometry and format information

To display the geometry and format information of a CompactFlash memory card formatted with a Class C Flash file system, use the show {flash: slot0:} filesys command.

The following example shows output for displaying the geometry and format information of an external Cisco Flash memory card:

Router# show slot0: 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

Delete files from CompactFlash Memory

To delete a file from a CompactFlash memory card, use the delete {flash: slot0:} command.

The following example shows output for deleting a Cisco IOS file from an internal CompactFlash memory card:

Router# delete flash:c3725-i-mz.tmp

Delete filename [c3725-i-mz.tmp]?

Delete flash:c3725-i-mz.tmp? [confirm]

Router# dir flash:

Directory of flash:/

No files in directory

128094208 bytes total (128094208 bytes free)

Installing and Formatting Cisco 2691, Cisco 3631 and Cisco 3700 CompactFlash Memory Cards

 

78-13892-03

27

 

 

 

Page 27
Image 27
Cisco Systems 2691 Display geometry and format information, Router# show slot0 filesys, Router# delete flashc3725-i-mz.tmp