LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Managing Desktop drive icons in Fedora 8 (https://www.linuxquestions.org/questions/fedora-35/managing-desktop-drive-icons-in-fedora-8-a-627116/)

terry-duell 03-10-2008 11:02 PM

Managing Desktop drive icons in Fedora 8
 
Hullo All,
I am running Fedora 8 using gnome.
I have a second drive and all the partitions appear as icons on my desktop, which is rather annoying.
If I use the gconf-editor (applications > System Tools > Configuration Editor) to unset volumes_visible, I also lose the removable media icons from my desktop. I would like to keep these icons.
I note that the removable media and the second drive partitions are all mounted in /media. These mounts are all shown in /etc/mtab, but nothing about these drives appears in /etc/fstab.
I am thinking that If I mount the second drive partitons in /mnt (make appropriate mods to /etc/fstab) then the removable media drive icons will appear on the desktop if I set volumes_visible, and I won't have all the second drive partition icons as well.
If I do this, do I need to do anything else to prevent the second drive partitions being mounted in /media?
Or to put it another way, what is currently causing these partitions to be mounted in /media and does that have to be explicitly switched off, or another config file altered or somesuch?
I think I know all that is necessary to make a new mount, (add entry to /etc/fstab, create the mount point directories) but the fact that these second drive partitions are mounted in /media without an entry in /etc/fstab, leaves me unsure as what else might need to be done to switch these /media mounts off.
Hope this is clear enough.

Cheers,

decrepit 03-11-2008 03:58 AM

Do a search on this forum, a few of us had the same problem a month or so back and a cure was found. But I'm afraid it's (the cure) leaked out of this old sieve of a head!

Think it was titled something like, "stop automount of all partitions"

(edit)
OK, I've found it, (helps when you make a note of things)

fix automount prob.

in /usr/share/hal/fdi/policy/10osvendor/99-redhat-storage-policy-fixed-drives.fdi



<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">
<device>
<match key="@block.storage_device:storage.hotpluggable" bool="false">
<match key="@block.storage_device:storage.removable" bool="false">
<merge key="volume.ignore" type="bool">true</merge>
</match>
</match>
</device>
</deviceinfo>


Or if you have an older version of Fedora just copy the
/usr/share/hal/fdi/policy/10osvendor/99-redhat-storage-policy-fixed-drives.fdi

file over from the older distro

ronlau9 03-11-2008 09:25 AM

I also run Fedora 8 all the drives only appears on my desktop as a icon when I am login as root
Not when I login as a normal user
Being root it can use full to have the icons there
Pardon me if I am wrong


all the best

terry-duell 03-11-2008 05:24 PM

Quote:

Do a search on this forum, a few of us had the same problem a month or so back and a cure was found. But I'm afraid it's (the cure) leaked out of this old sieve of a head!
OK, I did see that and if I recall correctly did add the 99-redhat-storage-policy-fixed-drives.fdi to /usr/share/hal/fdi/policy/10osvendor dir, but I don't think it actually fixed things the way I would have liked...perhaps it's my memory that's palying up now and maybe I should go back and try it again.

Thanks for your help in tracking that down. I should add that i did do a search before posting my question, but that particular one didn't pop up. Choice of words I guess.

Thanks again.

Cheers,


All times are GMT -5. The time now is 05:52 PM.