I’ve just updated my DELL Inspiron 6000 to Ubuntu Linux 7.04 (Feisty Fawn), before that I used 6.06 LTS (Dapper Drake). Having missed nearly one year of development, I noticed that Nautilus shows all partitions (no matter if mounted or not) in the places area. I’ll never need to mount DELL’s rescue and restore partitions and therefor don’t want them to be listed there. Here you go:
Open a terminal, become root:
Create a new folder and a new file with gedit:
Copy the following to the file, create a new <match>– block for each partition you want to block:
<?xml version="1.0" encoding="UTF-8"?>
<match key="block.device" string="/dev/sda1">
<merge key="info.ignore" type="bool">true</merge>
It’s also possible to block a whole hard disk, e.g. /dev/sdb. Now save the file and restart HAL and DBUS:
That’s it, credits go to clausi at ubuntuusers.de and vtel57 at ubuntuforums.org.
You have typos in your tutorial. In the quotations string= and also block.device
Now everything should be fine.
Why didn’t you just delete the relevant lines from /etc/fstab?
@3: Because there are no “relevant lines”.
Comments are closed.