【问题标题】:Device not configured after sshfs attempt尝试 sshfs 后未配置设备
【发布时间】:2017-10-21 23:30:36
【问题描述】:

在我的 Mac 上使用 sshfs 后,我无法再看到我的用户目录。

当我打开终端窗口时,我看到以下内容:

Last login: Mon May 22 10:54:30 on ttys003
mkdir: /Users/<username>/.bash_sessions: Device not configured
-bash: /Users/<username>/.bash_profile: Device not configured
touch: /Users/<username>/.bash_sessions/35166655-583B-47CC-9BCF-5E785DD5E46E.historynew: Device not configured

有没有办法解决这个问题?

干杯 保罗

【问题讨论】:

    标签: macos-sierra user-profile tunnel ssh-tunnel


    【解决方案1】:

    我曾经使用sshfs 得到这个错误;我发现无需重新启动即可修复它的唯一方法是:

    sudo diskutil umount force /path/to/mount
    

    我最近一直在尝试 https://github.com/spion/adbfs-rootless 做其他事情,发现我可以遇到同样的情况,“修复”也适用于这种情况。

    【讨论】:

    • 然后你又运行sshfs 来重新挂载它。为我工作,谢谢。
    【解决方案2】:

    没有得到任何地方所以抓住机会并重新启动。现在似乎一切正常。

    【讨论】:

    • 不用重启就可以修复,看我的回答。
    猜你喜欢
    • 2014-10-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-09-28
    • 1970-01-01
    相关资源
    最近更新 更多