C-9
Cisco 7401ASR Installation and Configuration Guide
OL-5419-01 B0
AppendixC Using the CompactFla sh D isk Working with a CompactFlash 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
You can verify your working directory by using 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 from which you are currently
working, use the dir command with no arguments:
System# dir
Directory of disk0:/
1 drw- 0 Jul 25 1998 10:23:11 daily_dir
2 drw- 0 Jul 25 1998 10:28:37 access_lists
64755200 bytes total (64742912 bytes free)
System#
Note that the size of the CompactFlash Disk is shown in the output of the dir command. (A 64-MB
CompactFlash Disk is shown in this example.) You can also view the contents of other directories and
file systems using specific optional arguments with the dir command. (See Table C-1 .)
Using the format Command
To format a new CompactFlash Disk, use the format [disk0: ] command.
Note You must format a new CompactFlash Disk before you can use it. If you plan to use a CompactFlash
Disk that was formatted and used on another type of system, see t he Compatibility Requirements
section on page C-3 to determine if you need to reformat the CompactFlash Disk first.
Caution The formatting procedure erases all information on the CompactFlash Disk. To prevent the loss of
important data that might be stored on a CompactFlash Disk, proceed ca refully. If you want to save data
that is currently on your CompactFlash Disk, copy the data to a T FTP ser ver o r to ano ther Comp actFlash