Removing A Subdirectory - Dell PowerConnect B-RX Configuration Manual

Bigiron rx series configuration guide v02.7.02
Hide thumbs Also See for PowerConnect B-RX:
Table of Contents

Advertisement

3
Flash memory and PCMCIA flash card file management commands
The name is not case sensitive. You can enter upper- or lowercase letters. The CLI displays the
name using uppercase letters.
To verify successful creation of the subdirectory, enter a command such as the following to change
to the new subdirectory level.
BigIron RX# chdir /slot2/TEST
Current directory of slot2 is: /TEST
For information about changing the directory using the cd and chdir commands, refer to
the management focus"

Removing a subdirectory

You can remove a subdirectory from the flash card file system using the rd and rmdir commands,
which have the same syntax and function exactly the same.
NOTE
You cannot remove subdirectories from the flash memory file system. Therefore, the rd and rmdir
commands do not apply to the flash memory file system.
NOTE
You can remove a subdirectory only if the subdirectory does not contain files or other subdirectories.
The software attempts to remove a subdirectory from the file system that has the current
management focus. By default, flash memory has the management focus. However, you do not
need to change the focus to remove a subdirectory from a file system that does not currently have
management focus. In this case, you can specify the slot1 or slot2 keyword with the rd or rmdir
command to remove the subdirectory from the desired file system.
For example, to remove a subdirectory from the flash card inserted in slot 2, if the flash memory
has current management focus, enter a command such as the following.
BigIron RX# rmdir slot2 TEST
Syntax: rd | rmdir [slot1 | slot2] <dir-name>
You can enter either rd or rmdir for the command name.
Specify the slot1 or slot2 keyword to remove a subdirectory on the flash card in slot 1 or slot 2,
respectively. If you do not specify one of these parameters, the command applies to the file system
that currently has the management focus.
The <dir-name> parameter specifies the subdirectory you want to delete. You can enter a path
name if the subdirectory is not in the current directory.
If you receive a message such as the following, enter the pwd command to verify that the
management focus is at the appropriate level of the directory tree.
BigIron RX# rmdir TEST
rmdir /slot1/test/dir1/temp failed - File not found
For information about using the pwd command, refer to
focus"
48
on page 43.
on page 42.
"Determining the current management
BigIron RX Series Configuration Guide
"Switching
53-1001810-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Brocade dcx-4sBrocade dcx

Table of Contents