| Fedora This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-10-2008, 11:02 PM
|
#1
|
|
Member
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 18 x86_64
Posts: 366
Rep:
|
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,
|
|
|
|
03-11-2008, 03:58 AM
|
#2
|
|
Member
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347
Rep:
|
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
Last edited by decrepit; 03-11-2008 at 04:03 AM.
Reason: found the answer
|
|
|
|
03-11-2008, 09:25 AM
|
#3
|
|
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,354
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
all the best
|
|
|
|
03-11-2008, 05:24 PM
|
#4
|
|
Member
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 18 x86_64
Posts: 366
Original Poster
Rep:
|
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,
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:35 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|