2360
C
155: F
HAPTER
ILE
Related command:
Example
undelete
Syntax
View
Parameter
Description
Example
S
C
C
YSTEM
ONFIGURATION
OMMANDS
By default, a storage device is in the mounted state, that is, you can use it without
mounting it.
Note that:
Do not remove the storage device or swap the board when mounting or
■
unmounting the device, or when you are processing files on the storage device.
Otherwise, the file system could be damaged.
When a storage device is connected to a low version system, the system may
■
not be able to recognize the device automatically, you need to use the mount
command for the storage device to function normally.
Before removing a mounted storage device from the system, you should first
■
unmount it to avoid damaging the device. By default, a storage device is in the
mounted state. You can use it without mounting it.
mount.
# Unmount a CF card on a device.
<Sysname> umount cf:
% Umount cf: successfully.
%Apr 23 01:49:20:929 2003 System VFS/5/LOG:
cf: umounted from slot 0.
undelete file-url
User view
file-url: Name of the file to be restored.
Use the
undelete
If another file with the same name exists under the same path, the undelete
operation will cause it to be overwritten and the system will ask you whether to
continue.
# Restore file sample.bak from the recycle bin.
<Sysname> undelete sample.bak
Undelete cf:/sample.bak ?[Y/N]:y
% Undeleted file cf:/sample.bak
command to restore a file from the recycle bin.