R2511-HP MSR Router Series Fundamentals Command Reference(V5)

147
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 might not be able to
recognize the device automatically, and you must use the mount command for the storage medium to
function correctly.
Before removing a mounted storage medium from the system, unmount it to avoid damaging the storage
medium.
Examples
# Unmount a CF card.
<Sysname> umount cfa0:
% Umount cfa0: successfully.
%Apr 23 01:49:20:929 2008 Sysname VFS/5/UNMOUNTED:
cfa0: umounted from slot 0.
Related commands
mount
undelete
Use undelete to restore a file from the recycle bin.
Syntax
undelete file-url
Views
User view
Default command level
3: Manage level
Parameters
file-url: Name of the file to be restored.
Usage guidelines
If another file with the same name exists in the same path, the system prompts you on whether to
overwrite the original file.
Examples
# Restore file a.cfg in directory flash: from the recycle bin.
<Sysname> undelete a.cfg
Undelete flash:/a.cfg?[Y/N]:y
.....
%Undeleted file flash:/a.cfg.
# Restore file b.cfg in directory flash:/test from the recycle bin.
<Sysname> undelete flash:/test/b.cfg
Undelete flash:/test/b.cfg?[Y/N]:y
.......
%Undeleted file flash:/test/b.cfg.