Using The Pwd Command; Using The Dir Command; Using The Format Command - Cisco 7401ASR Installation And Configuration Manual

Hide thumbs Also See for 7401ASR:
Table of Contents

Advertisement

Appendix C
Using the CompactFlash Disk

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-
2 drw-
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

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 the
section on page C-3
The formatting procedure erases all information on the CompactFlash Disk. To prevent the loss of
Caution
important data that might be stored on a CompactFlash Disk, proceed carefully. If you want to save data
that is currently on your CompactFlash Disk, copy the data to a TFTP server or to another CompactFlash
OL-5419-01 B0
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.
0
Jul 25 1998 10:23:11
0
Jul 25 1998 10:28:37
to determine if you need to reformat the CompactFlash Disk first.
Working with a CompactFlash Disk
daily_dir
access_lists
"Compatibility Requirements"
Cisco 7401ASR Installation and Configuration Guide
Table
C-1.)
C-9

Advertisement

Table of Contents
loading

Table of Contents