Renaming A File; Changing The Read-Write Attribute Of A File - Dell PowerConnect B-RX Configuration Manual

Bigiron rx series supporting multi-service ironware v02.7.03
Hide thumbs Also See for PowerConnect B-RX:
Table of Contents

Advertisement

3
Flash memory and PCMCIA flash card file management commands

Renaming a file

You can rename a file in the management module's flash memory or on a flash card inserted in the
management module's slot 1 or slot 2 using the rename or mv command.
The software attempts to rename the file in 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 rename the file in a file system that does not currently have management focus. In this
case, you can specify the /<directory>/<old-file-name> /<directory>/<new-file-name> parameter
with the rename or mv command to rename the file in the desired file system.
For example, to rename a file in flash memory, if flash memory has the current management focus,
enter a command such as the following:.
BigIron RX# rename oldname newname
If the command is successful, the CLI displays a new command prompt.
Syntax: rename | mv [/<directory>/]<old-file-name> [/<directory>/]<new-file-name>
You can enter either rename or mv for the command name.
The /<directory>/ parameter specifies a directory in a file system that does not have current
management focus.
The <old-file-name> parameter specifies the original filename that you want to change.
The <new-file-name> parameter specifies the new filename that you want to assign to the original
file.
For example, to rename a file on the flash card inserted in slot 2, if flash memory has the current
management focus, enter a command such as the following.
BigIron RX# rename /slot2/oldname /slot2/newname

Changing the read-write attribute of a file

You can specify the read-write attribute of a file on a flash card as follows:
NOTE
The read-write attribute of all files in flash memory is set to read-write. You cannot change this
attribute for the files in flash memory. Therefore, the attrib command does not apply to the flash
memory file system.
To determine the current setting of the read-write attribute for a file, use the dir command to list the
directory information for the file. Files set to read-only are listed with "R" in front of the file name.
For information about the dir command, refer to
The software attempts to change the read-write attribute of the file in 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 change this attribute of the file in a file system that does not
currently have management focus. In this case, you can specify the slot1 or slot2 keyword with the
attrib command to change the attribute of the file in the desired file system.
48
Read-only – You can display or copy the file but you cannot replace (copy over) or delete the
file.
Read-write – You can replace (copy over) or delete the file. This is the default.
"Displaying a directory of the files"
BigIron RX Series Configuration Guide
on page 42.
53-1001986-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bigiron rx series

Table of Contents