我必须卸载drvfs并使用“元数据”标志重新挂载它,以便将新的文件系统特性使用到WSL,从而允许在WSL中更改权限。但当我这么做的时候
sudo umount /mnt/c
它回来了
umount: /mnt/c: target is busy
如何在不丢失数据的情况下强制进程停止?哪个进程可能正在运行不应该运行的进程?
发布于 2020-04-21 08:01:53
试试umount -l /mnt/c。根据手册页,它执行以下操作
-l, --lazy Lazy unmount. Detach the filesystem from the file hierarchy now, and clean up all references to this filesystem as soon as it is not busy anymore.
https://stackoverflow.com/questions/61338172
复制相似问题