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.