Using The Mkdir Command - Cisco 7304 Installation And Configuration Manual

Network service engine
Hide thumbs Also See for 7304:
Table of Contents

Advertisement

Chapter 6
Working with a CompactFlash Disk
Note
You might need to copy a new image to a CompactFlash Disk whenever a new Cisco IOS software
release or a new Cisco IOS software maintenance release becomes available. You can use the copy
command for this purpose.
Use the following procedure to copy a file (called new.image in this example) located on a
CompactFlash Disk—called disk0:—to the CompactFlash Disk—called bootdisk:
If the CompactFlash Disk is unformatted or has been formatted on another possibly incompatible
Step 1
system, format it now using the procedure in the
appropriate.
To copy the image new.image to CompactFlash Disk disk0:, use the following series of commands:
Step 2
System> enable
Password:
System# copy disk0:new.image bootdisk:new.image
3393 bytes copied in 0.548 secs#
System#
In the preceding example, the 3393-byte file new.image was copied to the CompactFlash Disk in
approximately one-half second.
Step 3
Verify that the file new.image is now on the CompactFlash Disk:
System# pwd
disk0:/
System# dir
Directory of disk0:/
1
48755200 bytes total (48747008 bytes free)
System#

Using the mkdir Command

To create a directory on the CompactFlash Disk, use the mkdir command. The following example shows
how to create a directory called daily_dir on the CompactFlash Disk, and then verify that it was created:
System# mkdir disk0:daily_dir
Created dir disk0:daily_dir
System# dir
Directory of disk0:/
1
48755200 bytes total (48751104 bytes free)
System#
If you create a directory and place a file in it that you plan to access or use later, be sure to define the
Note
entire directory path to the file as you enter the appropriate software commands.
OL-3967-01
-rw-
3393
Jul 26 1998 17:44:47 new.image
drw-
0
Jul 25 1998 10:15:43
"Using the format Command" section on page
daily_dir
Cisco 7304 Network Service Engine Installation and Configuration
Using Software Commands
6-5, as
6-7

Advertisement

Table of Contents
loading

Table of Contents