R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

41
When mounting or unmounting a storage medium, or performing file operations on it, do not unplug or
switchover the storage medium or the card where the storage medium resides. Otherwise, the file system
could be damaged.
When a storage medium is connected to a lower version system, the system may not be able to recognize
the device automatically, and you need to use the mount command for the storage medium to function
normally.
Before removing a mounted storage medium from the system, first unmount it to avoid damaging the
device.
Related commands: mount.
Examples
# Unmount a CF card.
<Sysname> umount cfa0:
% Umount cfa0: successfully.
%Apr 23 01:49:20:929 2008 Sysname VFS/5/LOG:
cfa0: umounted from slot 0.
undelete
Syntax
undelete file-url
View
User view
Default level
3: Manage level
Parameters
file-url: Name of the file to be restored.
Description
Use the undelete command to restore a file from the recycle bin.
If another file with the same name exists in the same path, the system prompts you whether to overwrite
the original file.
Examples
# Restore file a.cfg in directory cfa0: from the recycle bin.
<Sysname> undelete a.cfg
Undelete cfa0:/a.cfg?[Y/N]:y
.....
%Undeleted file cfa0:/a.cfg.
# Restore file b.cfg in directory cfa0:/test from the recycle bin.
<Sysname> undelete cfa0:/test/b.cfg
Undelete cfa0:/test/b.cfg?[Y/N]:y
.......
%Undeleted file cfa0:/test/b.cfg.
Or, you can use the following steps to restore file cfa0:/test/b.cfg.