FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.