首页 > 系统 > Linux > 正文

fedora 10 取消某些自动挂载的分区

2024-08-28 00:23:24
字体:
来源:转载
供稿:网友

fedora 10 在启动时会自动挂载所有分区,但是有些分区(比如windows系统分区)对我们是没有用的,如何设置它在开机不自动挂载呢?

方法如下
修改/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
定位到<match key="volume.fstype" string_outof="ntfs;vfat">

在其后加入
<!-- 忽略分区SYSTEM -->
<match key="volume.label" string="SYSTEM">
<merge key="volume.ignore" type="bool">true</merge>
</match>

其中SYSTEM是需要取消挂载的分区卷标。如果有多个分区需要取消挂载,可以继续添加。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表