Datasheet

19
Using the Flash Disk
OL-6452-04
Working with a Flash Disk
Using the show Command
To display information about Flash Disk format and geometry, use the show [disk0: | disk1:] 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#
In this example:
Number of Heads is the number of heads on the Flash Disk.
Number of Cylinders is the number of cylinders on the Flash Disk.
Sectors per Cylinder is the number of sectors in each cylinder.
Sector Size is the number of bytes in each sector.
Total Sectors is the total number of sectors on the Flash Disk.
Number of FAT Sectors is the number of sectors used to track allocation of clusters to files.
Sectors Per Cluster is the number of sectors contained in each cluster. (Files grow by a minimum of
one cluster.)
Number of Clusters is the total number of clusters available for use by files.
Number of Data Sectors is the number of sectors available for files.
Base Root Sector is the logical address of the first sector of the root directory.
Base FAT Sector is the first sector in the File Allocation Table (FAT).
Base Data Sector is the first sector available for use by files.
Using the pwd Command
To determine which PC Card slot you are accessing, use the pwd command:
System# pwd
disk0:/
System#
The preceding example indicates that you are currently in the working directory called disk0:, which is
the Flash Disk in PC Card slot 0.