Operation Manual – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management Configuration
1-4
Caution:
The format operation leads to the loss of all files, including the configuration files, on the
Flash memory and is irretrievable.
1.1.6 Prompt Mode Configuration
You can set the prompt mode of the current file system to
alert
or
quiet
. In alert mode,
the file system will give a prompt for confirmation if you execute a command which may
cause data loss, for example, deleting or overwriting a file. In quiet mode, such prompt
will not be displayed.
Table 1-5
Configuration on prompt mode of file system
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the prompt
mode of the file system
file prompt
{
alert
|
quiet
}
Required
By default, the prompt mode
of the file system is
alert
.
1.1.7 File System Configuration Example
# Display all the files in the root directory of the file system.
<Sysname> dir /all
Directory of unit1>flash:/
1 (*) -rw- 3579326 Mar 28 2007 10:51:22 s3100.bin
2 (*) -rw- 1235 Apr 03 2000 16:04:52 config.cfg
3 -rwh 151 Apr 03 2000 16:04:55 private-data.txt
4 -rwh 716 Apr 04 2000 17:27:35 hostkey
5 -rwh 572 Apr 04 2000 17:27:41 serverkey
6 -rwh 548 Apr 04 2000 17:30:06 dsakey
7 drw- - Apr 04 2000 23:04:21 test
7239 KB total (3585 KB free)
(*) -with main attribute (b) -with backup attribute
(*b) -with both main and backup attribute
# Copy the file flash:/config.cfg to flash:/test/, with 1.cfg as the name of the new file.