我必须卸载drvfs并使用'metadata'标志重新装载它,才能对WSL使用允许更改WSL中权限的新文件系统功能。但当我这样做时:
sudo umount /mnt/c
它返回
umount: /mnt/c: target is busy
如何在不丢失数据的情况下强制流程停止?哪个进程可能正在运行而不应该运行?
尝试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.