115
Parameters
directory: Name of the folder.
Description
Use the rmdir command to remove a folder.
The folder must be an empty one. If not, you must delete all files and subfolders
under it with the delete command.
After you execute the rmdir command successfully, the files in the recycle bin
under the folder are automatically deleted.
Examples
Remove folder mydir.
<Sysname> rmdir mydir
Rmdir flash:/mydir?[Y/N]:y
%Removed directory flash:/mydir.
umount
Syntax
umount device
View
User view
Default Level
3: Manage level
Parameters
device: Name of a storage medium (for example cf).
Description
Use the umount command to unmount a hot swappable storage medium, such as a
CF card, excluding flash. This command is effective only when the storage medium is in
mounted state.
By default, a storage medium is automatically mounted and in the mounted state. You
must unmount it before removing it from the device.
When mounting or unmounting a storage medium, or performing file operations on it,
do not unplug or switchover the storage medium or the board where the storage
medium resides. Otherwise, the file system could be damaged.