FUSE filesystem hide from nautilus

2019-09-01 00:06发布

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条回答
神经病院院长
2楼-- · 2019-09-01 00:58

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.

查看更多
登录 后发表回答