123
Directory of flash:/
...
Directory of usb0:/
...
# In IRF mode, display information about all files and folders in the storage media of the master.
<Sysname> dir /all
Directory of flash:/
...
# In IRF mode, display files and folders in the root directory of every storage medium in the IRF
fabric.
<Sysname> dir /all-filesystems
Directory of flash:/
...
Directory of chassis2#slot0#flash:/
...
# In IRF mode, display information about all files and folders in the storage medium of the global
standby MPU that resides in member device 2:
•
Method 1
<Sysname> dir /all chassis2#slot0#flash:/
Directory of chassis2#slot0#flash:/
...
•
Method 2
<Sysname> cd chassis2#slot0#flash:/
<Sysname> dir /all
...
Table 17 Command output
Field Description
Directory of
Current directory.
0 -rwh 3144 Apr 26
2008 13:45:28 xx.xx
File or folder information:
•
0
—File or folder number, which is automatically allocated by the system.
•
-rwh
—Attributes of the file or folder. The first character is the folder
indicator (
d
for folder and
–
for file). The second character indicates
whether the file or folder is readable (
r
for readable). The third character
indicates whether the file or directory is writable (
w
for writable). The
fourth character indicates whether the file or directory is hidden (
h
for
hidden,
-
for visible). Modifying, renaming, or deleting hidden files might
affect functions.
•
3144
—File size in bytes. For a folder, a hyphen (-) is displayed.
•
Apr 26 2008 13:45:28
—Last date and time when the file or folder was
modified.
•
xx.xx
—File or folder name.
fdisk
Use
fdisk
to partition a storage medium.