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

146
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 flash:/mydir?[Y/N]:y
%Removed directory flash:/mydir.
umount
Use umount to unmount a hot swappable storage medium excluding the Flash, 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: Specifies the name of a storage medium, for example, flash or cfa0.
Usage guidelines
The following matrix shows the umount command and router compatibility:
Hardware Command com
p
atible
MSR900 Yes.
MSR93X Yes.
MSR20-1X Yes.
MSR20 Yes.
MSR30 Yes
MSR50 Yes.
MSR1000 Yes.
This command applies only when the device is in mounted state.