English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Linux umount command (full English name: unmount) is used to unmount the file system.
The umount command can unmount the file system currently mounted in the Linux directory.
umount [-ahnrvV][-t <file system type>][file system]
Parameters:
The following two commands unmount the file system through device name and mount point, and output detailed information at the same time:
-v /dev/sda1 Unmount through Device Name /dev/sda1 umounted -v /mnt/mymount/ Unmount through Mount Point /tmp/diskboot.img umounted
If the device is busy, the unmount operation will fail. Common reasons for unmount failure include, for example, the current directory of an open shell is a directory within the mounted point:
-v /mnt/mymount/ umount: /mnt/mymount: device is busy umount: /mnt/mymount: device is busy