R3303-HP HSR6800 Routers Fundamentals Command Reference

99
rmdir
Use rmdir to remove a folder.
Syntax
rmdir directory
Views
User view
Default command level
3: Manage level
Parameters
directory: Name of the folder.
Usage guidelines
The folder must be empty. If not, delete all files and subfolders under it by using the delete command.
After you execute the rmdir command successfully, the files in the recycle bin in the folder will be
automatically deleted.
Examples
# Remove folder mydir.
<Sysname> rmdir mydir
Rmdir cfa0:/mydir?[Y/N]:y
%Removed directory cfa0:/mydir.
umount
Use umount to unmount a hot swappable storage medium, such as a CF card or a USB disk.
Syntax
umount device
Default
A storage medium is automatically mounted and placed in mounted state. You must unmount it before
removing it from the device.
Views
User view
Default command level
3: Manage level
Parameters
device: Name of a storage medium, for example, cfa0.
Usage guidelines
This command applies only when the device is in mounted state.