26-5
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 26 Working With the Flash File System
Working with the Flash File System on the Switch
Listing the Files on a Flash Device
To list the files on a flash device, perform one of these tasks:
This example shows how to list the files on the default flash device:
Console> (enable)
dir
-#- -length- -----date/time------ name
4 3134688 Mar 15 1999 08:27:01 cat6000-sup.5-2-1-CSX.bin
5 3231989 Jan 24 1999 12:04:40 cat6000-sup.5-1-1-CSX.bin
6 135 Feb 17 1999 11:30:05 dns_config.cfg
1213952 bytes available (6388224 bytes used)
Console> (enable)
This example shows how to list the files on a flash device other than the default device:
Console> (enable)
dir slot0:
-#- -length- -----date/time------ name
1 3209261 Jun 16 1998 13:18:19 cat6000-sup.5-2-1-CSX.bin
2 135 Jul 17 1998 11:32:53 dns-config.cfg
3 3231989 Jul 17 1998 16:54:23 cat5000-sup3.4-1-2.bin
4 8589 Jul 17 1998 17:02:52 6000_config.cfg
9933504 bytes available (6450496 bytes used)
Console> (enable)
This example shows how to list the deleted files on the default flash device:
Console> (enable)
dir deleted
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1 .D ffffffff 81a027ca 41bdc 22 7004 Apr 01 1998 15:27:45 5002.config.
4.1.98.cfg
2 .D ffffffff ccce97a3 43644 23 6630 Apr 01 1998 15:36:47 5002.default
.config.cfg
3 .D ffffffff 81a027ca 45220 15 7004 Apr 19 1998 10:05:59 5002_config.
cfg
1213952 bytes available (6388224 bytes used)
Console> (enable)
Task
Command
Display a list of files on a flash device.
dir
[[
m
/
]
device:
][
filename
]
Display a list of the deleted files on a flash device.
dir
[[
m
/
]
device:
][
filename
]
deleted
Display a list of all files on a flash device, including
the deleted files.
dir
[[
m
/
]
device:
][
filename
]
all
Display a detailed list of files on a flash device.
dir
[[
m
/
]
device:
][
filename
]
long