2360 CHAPTER 155: FILE SYSTEM CONFIGURATION COMMANDS

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.

Related command: mount.

Example # 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

Syntax undelete file-url

View User view

Parameter 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 under the same path, the undelete operation will cause it to be overwritten and the system will ask you whether to continue.

Example # Restore file sample.bak from the recycle bin.

<Sysname> undelete sample.bak

Undelete cf:/sample.bak ?[Y/N]:y

% Undeleted file cf:/sample.bak

Page 2360
Image 2360
3Com MSR 30, MSR 50 Undelete, Related command mount, Example # Unmount a CF card on a device, Syntax undelete file-url