6-3
Cisco 7304 Network Service Engine Installation and Configuration
OL-3967-01
Chapter 6 Working with a CompactFlash Disk
Using Software Commands
Using Software Commands
This section provides examples of some of the basic software commands you can use with the
CompactFlash Disk. See
Table 6-1
for optional arguments you can use with some of the following
commands:
•
Using the show Command, page 6-3
•
Using the pwd Command, page 6-4
•
Using the cd Command, page 6-4
•
Using the dir Command, page 6-5
•
Using the format Command, page 6-5
•
Using the copy Command, page 6-6
•
Using the mkdir Command, page 6-7
•
Using the rmdir Command, page 6-8
•
Using the delete Command, page 6-8
Using the show Command
To display information about CompactFlash Disk format and geometry, use the
show
[
disk0: |bootdisk:
]
command. The following example shows output from the
show disk0:
command:
System#
show disk0:
******** ATA Flash Card Geometry/Format Info ********
ATA CARD GEOMETRY
Number of Heads: 16
Number of Cylinders 840
Sectors per Cylinder 32
Sector Size 512
Total Sectors 430080
ATA CARD FORMAT
Number of FAT Sectors 105
Sectors Per Cluster 16
Number of Clusters 26822
Number of Data Sectors 429536
Base Root Sector 338
Base FAT Sector 128
Base Data Sector 370
Router#
rmdir
[
disk0:
|
bootdisk:
]
directory-name
Removes an existing directory.
Allows you to remove a directory that currently exists on a
CompactFlash Disk, where
directory-name
is the name of the
directory you want to remove.
show
[
disk0:
|
bootdisk:
]
Lists information about CompactFlash Disk format and geometry.
Table 6-1
CompactFlash Disk-Related Software Commands (continued)
Command and Arguments
Description