解决umount报device is busy问题
2018-02-27 本文已影响0人
弱弱的孤狼
使用的命令:fuser
操作步骤:
-
首先,确认有那些进程需要杀掉
$ fuser -cu /mnt -
其次,向进程发出SIGKILL信号
$ fuser -ck /mnt -
最后,确认
$ fuser -c /mnt -
再次执行umount即可
$ sudo umount /mnt
首先,确认有那些进程需要杀掉
$ fuser -cu /mnt
其次,向进程发出SIGKILL信号
$ fuser -ck /mnt
最后,确认
$ fuser -c /mnt
再次执行umount即可
$ sudo umount /mnt