Linux Comm Umount
# Linux umount Command
[ Linux Command Manual](#)
The Linux umount (full English name: unmount) command is used to unmount a file system.
umount can unmount file systems currently mounted in Linux directories.
### Syntax
umount
**Parameters**:
* -a Unmount all file systems recorded in /etc/mtab.
* -h Display help.
* -n Do not write information to the /etc/mtab file when unmounting.
* -r If unmounting fails, attempt to remount the file system as read-only.
* -t Only unmount the file system specified in the option.
* -v Display detailed information during execution.
* -V Display version information.
* In addition to directly specifying the file system, you can also use the device name or mount point to represent the file system.
### Examples
The following two commands unmount the file system using the device name and mount point respectively, while outputting detailed information:
# umount -v /dev/sda1 Unmount /dev/sda1 by device name umounted # umount -v /mnt/mymount/ Unmount /tmp/diskboot.img by mount point umounted
If the device is busy, the unmount will fail. A common reason for unmount failure is that an open shell has its current directory set to a directory within the mount point:
# umount -v /mnt/mymount/ umount: /mnt/mymount: device is busy umount: /mnt/mymount: device is busy
[ Linux Command Manual](#)
YouTip