What happens if you mount to a non-empty mount point with fuse?

后端 未结 5 1496
小鲜肉
小鲜肉 2020-12-28 13:54

I am new to fuse. When I try to run a FUSE client program I get this error:

fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the \'nonem         


        
5条回答
  •  没有蜡笔的小新
    2020-12-28 14:32

    Apparently nothing happens, it fails in a non-destructive way and gives you a warning.

    I've had this happen as well very recently. One way you can solve this is by moving all the files in the non-empty mount point to somewhere else, e.g.:

    mv /nonEmptyMountPoint/* ~/Desktop/mountPointDump/
    

    This way your mount point is now empty, and your mount command will work.

提交回复
热议问题