umount -l含义

7998阅读 0评论2011-11-15 wuhen33400
分类:LINUX

经常看见umount -l这个命令,却不知道到底是什么意思呢?
下面这个是man umount的:
       -l     Lazy unmount. Detach the filesystem from the filesystem  hierar‐
              chy now, and cleanup all references to the filesystem as soon as
              it is not busy anymore.  (Requires kernel 2.4.11 or later.)

英文不太好的,可以看看。
迟卸载(lazy unmount)会立即卸载目录树里的文件系统,等到设备不再繁忙时才清理所有相关资源。
上一篇:博客已升级,请注意变更地址
下一篇:重置mysql的root密码