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是需要取消挂载的分区卷标。如果有多个分区需要取消挂载,可以继续添加。
新闻热点
疑难解答