从鹦鹉螺FUSE文件系统隐藏 [英] FUSE filesystem hide from nautilus

查看:219
本文介绍了从鹦鹉螺FUSE文件系统隐藏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一个FUSE驱动程序对于Linux,当我安装它,我得到了鹦鹉螺侧边栏的条目。我不希望这 - 卸载按钮甚而不工作。我想隐藏我装保险丝的文件系统中的鹦鹉螺侧边栏这个项目。我不想把它添加到fstab中,因为以root身份打开安全漏洞运行它。有什么我可以添加到选择行或code本身从鹦鹉螺显示为prevent呢?

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?

推荐答案

我相信鹦鹉螺将只显示那些栏项,如果你的安装点是在 /媒体(指定的对于 FHS )。

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).

使用挂载点下的/ mnt 应该忽略的Nautilus文件系统。

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

这篇关于从鹦鹉螺FUSE文件系统隐藏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆