ubuntu怎么取消自动挂载
执行如下命令:sudo gedit /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi在如下字段的后面添加需要取消掉自动挂载的windows分区。
<!-- Here follow volumes we specifically want to ignore - it is the -->
<!-- responsibility of software higher in the stack (e.g. gnome-vfs) -->
<!-- amd mount programs (e.g. Mount() on HAL) to respect volume.ignore -->
<merge key="volume.ignore" type="bool">false</merge>
<!-- Should always ignore Apple Bootstrap partitions (it would be -->
<!-- a security hole to mount it) - TODO: should use the bootable -->
<!-- flag from the Mac partition table instead -->
<!-- ignore winD, winE disk -->
<match key="volume.fstype" string="vfat">
<match key="volume.label" string="winE">
<merge key="volume.ignore" type="bool">true</merge>
</match>
</match>
<match key="volume.fstype" string="vfat">
<match key="volume.label" string="winD">
<merge key="volume.ignore" type="bool">true</merge>
</match>
</match>
<!-- -->