Datasheet
1-15
Memory Replacement Instructions for the Network Processing Engine or Network Services Engine and Input/Output Controller
OL-8358-03
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information
Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card
• 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 CompactFlash Disk or Flash Disk 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.
Using the cd Command
To move back and forth between installed Flash Disks, use the cd command by defining a specific path
name. Then to verify your working directory, use the pwd command:
System# cd disk1:
System# pwd
disk1:/
System# cd disk0:
System# pwd
disk0:/
You can also move up (or back) one level in the directory hierarchy using the cd .. command, and then
verify your working directory with the pwd command:
System# pwd
disk1:daily_dir/
System# cd ..
System# pwd
disk1:/
System#
Using the dir Command
To list the directory structure and contents of the CompactFlash Disk, Flash Disk, or PC card from which
you are currently working, use the dir command with no arguments:
System# dir
Directory of disk1:/
1 drw- 0 Jul 25 1998 10:23:11 daily_dir
2 drw- 0 Jul 25 1998 10:28:37 access_lists
48755200 bytes total (48742912 bytes free)