95
The folder must be an empty one. If it is not empty, use the
delete
command to delete all files and
subfolders under it.
After you execute the
rmdir
command successfully, the files in the recycle bin in the folder will be
automatically deleted.
Examples
# Remove the
mydir
folder.
<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 flash or 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 need to 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 card where the storage medium resides. Otherwise, the file system
could be damaged.
When a storage medium is connected to a lower version system, the system may not be able to recognize
the device automatically, and you need to use the
mount
command for the storage medium to function
normally.
Before removing a mounted storage medium from the system, first unmount it to avoid damaging the
device.
Related commands:
mount
.
Examples
1.
In standalone mode
# Unmount a CF card of the active MPU.
<Sysname> umount cf:
% Umount cf: successfully.
%Apr 23 01:49:20:929 2011 Sysname VFS/5/LOG:
cf: umounted from slot 0.
Summary of Contents for A7500 Series
Page 7: ...v Index 210 ...