R3166-R3206-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
22
To do… Use the command…
Remarks
Unmount a storage
medium
umount device
Optional
By default, a storage medium is automatically mounted
and in mounted state when connected to the system.
CAUTION:
• When mounting or unmounting a storage medium, or performing file operations on it, do not unplu
g
or
switchover the storage medium or the card where the storage medium resides. Otherwise, the file system
could be damaged.
• Before removing a mounted storage medium from the system, unmount it to avoid damaging the stora
g
e
medium.
Setting prompt modes
The system provides the following prompt modes:
• alert: The system warns you about operations that may cause problems such as file corruption and
data loss. To prevent incorrect operations, the alert mode is preferred.
• quiet: The system does not prompt confirmation for any operation.
Follow these steps to set a prompt mode:
To do… Use the command…
Remarks
Enter system view system-view —
Set the operation prompt mode of
the file system
file prompt { alert | quiet }
Optional
The default is alert.
Example for file operations
# Display the files and the subdirectories under the current directory.
<Sysname> dir
Directory of cfa0:/
0 drw- - Feb 16 2006 11:45:36 logfile
1 -rw- 1218 Feb 16 2006 11:46:19 config.cfg
2 drw- - Feb 16 2006 15:20:27 test
3 -rw- 184108 Feb 16 2006 15:30:20 aaa.bin
19540 KB total (2521 KB free)
# Create a new folder called mytest under the test directory.
<Sysname> cd test
<Sysname> mkdir mytest
%Created dir cfa0:/test/mytest.
# Display the current working directory.
<Sysname> pwd
cfa0:/test