FUSE filesystem hide from nautilus

好久不见. 提交于 2019-12-25 04:17:15

问题


I have written a FUSE driver for linux, and when I mount it I get an entry in the nautilus sidebar. I do not want this - the unmount button doesnt even work. I would like to hide this entry in the nautilus sidebar for my mounted fuse filesystem. I dont want to add it to the fstab because running it as root opens security holes. Is there anything I can add to the options line or the code itself to prevent it from showing in nautilus?


回答1:


I believe Nautilus will only show those sidebar entries if your mount point is under /media (the designated path for "removable media" under the FHS).

Using a mount point under /mnt should make Nautilus ignore the filesystem.



来源:https://stackoverflow.com/questions/7828748/fuse-filesystem-hide-from-nautilus

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!