beautypg.com

Displaying the contents of a file – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 99

background image

Multi-Service IronWare Switching Configuration Guide

69

53-1003036-02

Verifying available flash space on the management module before an image is copied

3

For example, to display a directory of the files on the flash card in slot 2, if flash memory has the
management focus, enter the following command.

The following information is displayed for each file.

The directory also lists the total number of files that match the parameters you specified, the total
number of bytes used by all the files, and the number of bytes still free.

Displaying the contents of a file

You can display the contents of a file in the flash memory on the management module or on a flash
card inserted in management module slot 1 or slot 2.

The software displays the specified file in the file system that has the current management focus
(flash memory by default). However, you do not need to change the focus to display the file in a file
system that does not currently have management focus. In this case, you can specify the
/directory/ path-name parameter with the more command to display the file in the desired file
system.

TABLE 17

CLI display of directory information

This field...

Displays...

File date

The date on which the file was placed in the flash memory or card, if the device
system clock is set.

Time of day

The time of day at which the file was placed in the flash memory or card, if the
device system clock is set.

File size

The number of bytes in the file.

Read-write attribute

If you have set the read-write attribute of the file to read-only, “R” appears
before the file name. If the read-write attribute of the file is read-write (the
default), no value appears in this column. For information, refer to

“Changing

the read-write attribute of a file”

.

File name

The file name.

Long file name

This field applies to files on a flash card only.
The longer file name applies if the file was created on a PC and the name is
longer than the 8.3 format.

Brocade# dir /slot2/

Directory of /slot2/

08/01/2003 18:25:28 3,092,508 PRIMARY

08/01/2003 18:28:06 3,092,508 primary.1234

08/01/2003 18:28:24 389,696 MONITOR

08/01/2003 18:28:30 389,696 MONITOR1

08/01/2003 18:28:01 389,696 MONITOR2

08/01/2003 18:28:03 389,696 MONITOR3

08/01/2003 18:29:04 389,696 MONITOR4

08/01/2003 18:29:12

DIR1

08/01/2003 18:32:03 389,696 1234567890.12345

08/01/2003 18:32:08 389,696 123456.123

08/01/2003 18:32:11 389,696 123456.123

08/01/2003 18:32:14 389,696 123456.123

08/01/2003 18:32:17 389,696 123456.123

12 File(s) 10,081,976 bytes

1 Dir(s) 114,577,408 bytes free