Setting the file system operation mode
The file systems support the following operation modes:
alert—The system warns you about operations that might cause problems such as file corruption
•
and data loss. To prevent incorrect operations, use the alert mode.
quiet—The system does not prompt for any operation confirmation.
•
To set the file system operation mode:
Step
1.
Enter system view.
2.
Set the file system operation
mode.
File system management examples
# Display the files and the subdirectories in the current directory.
<Sysname> dir
Directory of flash:/
0
-rw-
1
-rw-
2
-rw-
3
-rw-
4
-rw-
260736 KB total (2521 KB free)
# Create new folder mytest in the test directory.
<Sysname> cd test
<Sysname> mkdir mytest
%Created dir flash:/test/mytest.
# Display the current working directory.
<Sysname> pwd
flash:/test
# Display the files and the subdirectories in the test directory.
<Sysname> dir
Directory of flash:/test/
0
drw-
260736 KB total (2519 KB free)
# Return to the upper directory.
<Sysname> cd ..
# Display the current working directory.
<Sysname> pwd
flash:
Command
system-view
file prompt { alert | quiet }
13308645
Mar 22 2011 11:34:07
7380
Mar 25 2011 10:47:36
228
Mar 25 2011 10:50:39
3921
Apr 01 2011 17:56:30
151
Apr 01 2011 17:56:24
-
Apr 01 2011 18:28:14
main.bin
patch-package.bin
patchstate
startup.cfg
system.xml
mytest
89
Remarks
N/A
Optional.
The default is alert.