开发者社区 问答 正文

挂载时出现“ossfs: MOUNTPOINT directory /tmp/ossfs is

挂载时出现“ossfs: MOUNTPOINT directory /tmp/ossfs is not empty. if you are sure this is safe, can use the 'nonempty' mount option”报错,如何解决?

展开
收起
雪哥哥 2022-01-01 19:58:25 2721 分享 版权
1 条回答
写回答
取消 提交回答
  • 问题分析:当默认情况下,ossfs只能挂载到空目录下。当试图挂载到非空目录下时,会提示上述错误。

    解决方案:切换到一个空目录下重新挂载。如果还是需要挂载到该目录下,挂载时增加 -ononempty 参数。

    2022-01-02 12:34:32
    赞同 展开评论
问答地址: