取消掛載文件係統。
另請參閱: mount
umount [-hV] umount -a [options] umount [options] <source> | <directory>
Options 選項
| 參數 | EN 解釋 | 中文翻譯 | 備注 |
|---|---|---|---|
| -a, --all | unmount all filesystems | 取消掛載所有文件係統 | |
| -A, --all-targets | unmount all mountpoints for the given device in the current namespace | 取消掛載當前名稱空間中給定設備的所有掛載點 | |
| c, --no-canonicalize | don't canonicalize paths | 不規範化路徑 | |
| -d, --detach-loop | if mounted loop device, also free this loop device | 如果掛載瞭迴路設備,也釋放此迴路設備 | |
| --fake | dry run; skip the umount(2) syscall | 乾運行; 跳過 umount(2) syscall | |
| -f, --force | force unmount (in case of an unreachable NFS system) | 強製取消掛載 (在不可達 NFS 係統情況下) | |
| -i, --internal-only | don't call the umount.<type> helpers | 不調用 umount.<type> 幫助程序 | |
| -n, --no-mtab | don't write to /etc/mtab | 不寫入 /etc/mtab | |
| -l, --lazy | detach the filesystem now, clean up things later | 現在分離文件係統,稍後再清理 | |
| -O, --test-opts <list> | limit the set of filesystems (use with -a) | 限製文件係統集 (與 -a 一起使用) | |
| -R, --recursive | recursively unmount a target with all its children | 遞歸取消掛載目標及其所有子級 | |
| -r, --read-only | in case unmounting fails, try to remount read-only | 在取消掛載失敗的情況下, 試著以隻讀方式重新掛載 | |
| -t, --types <list> | limit the set of filesystem types | 限製文件係統類型集 | |
| -v, --verbose | say what is being done | 說正在做什麼 | |
| -h, --help | display this help and exit | 顯示此幫助並退齣 | |
| -V, --version | output version information and exit | 輸齣版本信息並退齣 |
| 功能 | 命令 | 文字解釋 | 示例 | 示例解釋 |
|---|---|---|---|---|
| 幫助 | umount -h | 展示幫助信息 | ||
| umount --help | ||||
| 版本 | umount -V | 展示版本信息 | ||
| umount --version |
版權聲明: 本文為獨傢原創稿件,版權歸 樂數軟件 ,未經許可不得轉載。