3Com Switch 7750 Configuration Guide Guide

736 CHAPTER 68: FILE SYSTEM MANAGEMENT
Prompt Mode
Configuration
You can set the file system prompt mode to be alert or quiet. When in the alert
mode, the file system prompts for confirmation when you perform irreversible
operations (such as deleting a file completely or overwriting a file). If you are in the
quiet mode, you are not prompted when you execute the operations.
Table 572 lists the operations to configure the file system prompt mode.
File System
Configuration Example
# Display all the files in the root directory of the file system on the local unit.
<SW7750> dir /all
Directory of flash:/
0 -rw- 4 Mar 09 2006 13:59:19 snmpboots
1 -rw- 16215134 Apr 04 2006 16:36:20 Switch 7750 Family-Comware 310-E3128.app
2 -rw- 483 Apr 20 2006 14:50:54 diaginfo.txt
3 -rw- 3980 Apr 21 2006 15:08:29 vrpcfg.cfg
4 drw- - Apr 16 2006 11:18:17 hj
5 drw- - Apr 10 2005 19:07:59 dd
6 -rw- 11779 Apr 05 2006 10:23:03 test.bak
7 -rw- 19307 Apr 16 2006 11:15:55 1.txt
8 -rw- 66 Apr 05 2006 11:32:28 temp1
31877 KB total (15876 KB free)
# Create a directory named test.
<SW7750> mkdir test
.
%Created dir flash:/test.
# Copy flash:/vrpcfg.cfg as flash:/test/1.cfg.
<SW7750> copy flash:/vrpcfg.cfg flash:/test/1.cfg
......
%Copy file flash:/vrpcfg.cfg to flash:/test/1.cfg...Done.
# Display the file information.
<SW7750> dir /all
Directory of flash:/
0 -rw- 4 Mar 09 2006 13:59:19 snmpboots
1 -rw- 16215134 Apr 04 2006 16:36:20 Switch 7750 Family-Comware 310-E3128.app
2 -rw- 483 Apr 20 2006 14:50:54 diaginfo.txt
3 -rw- 3980 Apr 21 2006 15:08:29 vrpcfg.cfg
4 drw- - Apr 16 2006 11:18:17 hj
Tabl e 571 Storage device-related operations
Operation Command Description
Format a storage device format device Required
Restore a storage device fixdisk device Optional
Tabl e 572 Configuration on prompt mode of file system
Operation Command Description
Enter system view system-view -
Set the file system prompt
mode
file prompt { alert | quiet }
Required
By default, the file system
prompt mode is alert.