You are not logged in.

#1 2007-07-31 09:18:24

sH
Member
From: Braunschweig, Germany
Registered: 2007-05-02
Posts: 145

Why GNOME considers drives in fstab also as removable media?

Hello,

All my partitions are listed in fstab and get mounted to a specific mountpoint.
When I open "Places" in GNOME, I get a list of all my drives as removable media (123 GB drive, 70 GB drive, 30GB drive) and so on. Can I change this behaviour? I mean, there is no reason why I would want the drives to show up two times, once in the file-tree and another time as removable media.

thanks


Sascha

Offline

#2 2007-08-02 02:46:34

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Re: Why GNOME considers drives in fstab also as removable media?

dunno whay hal does that by default... you can tell hal to ignore the disks though... put this in /etc/hal/fdi/policy/10-ignore-no-removable.fdi (actually it doesn't have to be called like that, I believe that it has to end in '.fdi' though)

<?xml version="1.0" encoding="UTF-8"?> 
<deviceinfo version="0.2">
 <device>
   <match key="volume.fsusage" string="filesystem">
<merge key="volume.ignore" type="bool">true</merge>
       <match key="@block.storage_device:storage.removable" bool="true">
               <merge key="volume.ignore" type="bool">false</merge>
                <merge key="storage.policy.should_mount" type="bool">true</merge>
       </match>
   </match>
 </device>
</deviceinfo>

Offline

#3 2007-08-02 02:56:29

MrWeatherbee
Member
Registered: 2007-08-01
Posts: 277

Re: Why GNOME considers drives in fstab also as removable media?

Here's some additional info about the HAL business to expand on Phrodo_00's post:

http://ubuntuforums.org/showthread.php? … &page=4#34

I used this for my Ubuntu installs and had that link in my bookmarks.

Offline

Board footer

Powered by FluxBB