我有一个脚本
前置条件:lsof /dir1
明确
#/bin/bash
...
fusermount -u /dir1/dir2 # unbind dir2
umount /dir1 # sporadically fails with 'Target is Busy'
...
- 为什么我偶尔会收到“目标正忙”错误?
- 鉴于我需要在关闭 VPN 连接之前知道文件系统已卸载,我可以合理地采取什么措施?
我有一个脚本
前置条件:lsof /dir1
明确
#/bin/bash
...
fusermount -u /dir1/dir2 # unbind dir2
umount /dir1 # sporadically fails with 'Target is Busy'
...