153
umount
Use umount to unmount a file system.
Syntax
umount filesystem
Views
User view
Predefined user roles
network-admin
Parameters
filesystem: Specifies the name of a file system.
Usage guidelines
File systems on a storage medium are automatically mounted when the storage medium is
connected to the device. To remove a hot-swappable storage medium from the device, you must first
unmount all file systems on the storage medium. Removing a mounted hot-swappable storage
medium might damage files on the storage medium or even the storage medium.
You can unmount a file system only when no other users are accessing the file system.
To avoid file system corruption, do not perform the following tasks while the system is unmounting a
file system:
• Reboot, power cycle, or power off the device.
• Install, remove, or access storage media.
• Perform a switchover.
Examples
# Unmount a file system on a USB disk.
<Sysname> umount usba0:
Related commands
mount
undelete
Use undelete to restore a file from the recycle bin.
Syntax
undelete file
Views
User view
Predefined user roles
network-admin
Parameters
file: Specifies the name of the file to be restored.