LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-03-2008, 06:12 AM   #1
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
fedora8 how to stop all partitions automounting during bootup


Desktop is cluttered up with links to partitions that are very rarely used, and the ones I do use are inconveniently labeled.
So I'd like to stop automounting the ones not used and change the names of the ones that are.
I've checked /etc/fstab & mtab, /etc/auto.master and .misc, can't see any sign of them.
Anybody got any idea where/how to configure this?
 
Old 02-03-2008, 10:25 AM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
It'll be in /etc/fstab, I'm pretty sure, unless fedora is doing something new and funky. Can you post your fstab here ?

David
 
Old 02-04-2008, 06:04 AM   #3
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Original Poster
Rep: Reputation: 34
Think they've done something new and funky!!!!
Here's fstab from fedora8 and core6, they look the same to me, but fedora8 has 9 partitions on the desktop that have appeared all by themselves.

fedora8 fstab.
LABEL=/12 / ext3 defaults 1 1
LABEL=/boot12 /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sda6 swap swap defaults 0 0
/dev/sda7 swap swap defaults 0 0

core6
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-sda6 swap swap defaults 0 0
/dev/sda7 swap swap defaults 0 0


I haven't included stuff I've added myself later to avoid any confusion.
 
Old 02-09-2008, 11:51 AM   #4
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
what partitions are you seeing on the desktop? Please give a name and description of them
 
Old 02-09-2008, 07:36 PM   #5
gabz77
LQ Newbie
 
Registered: Apr 2007
Location: India
Distribution: Fedora10 x64, RHEL4AS, Debian5, CentOS5.2 x64
Posts: 2

Rep: Reputation: 0
Post same problem.... or is it some new added feature

i'm having the same problem.... it seems like a new feature in fedora 8. All NTFS partitions are automatically mounted as removable drives. This happening only in GNOME for me....
 
Old 02-10-2008, 02:40 AM   #6
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Original Poster
Rep: Reputation: 34
Yes, I'm sure it's a new added feature, and it's probably great if you only have a few partitions.
But I've got FC4, FC6, FC8, XP, a data partition and a music partition.

So auto mounted on the desktop, I have FC4, / and /boot, same for FC6, so that's 7 extra icons I don't really want.
I've made my own links to the data and music partitions, because the automount labels are confusing, (14.6 Gb Volume and 14.5 Gb Volume)

So it doesn't happen with KDE??? That's interesting, may be some feature of gnome then.
 
Old 02-11-2008, 02:59 AM   #7
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Try post #13 at the link below.

http://forums.fedoraforum.org/forum/...4&page=2&pp=10

Let us know if it works?

Thnx.
 
Old 02-11-2008, 06:57 AM   #8
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Original Poster
Rep: Reputation: 34
seems that file, (/usr/share/hal/fdi/policy/10osvendor/99-redhat-storage-policy-fixed-drives.fdi)
is missing in FC8, one of the guys in that thread copied the file from FC7. I've just copied it from FC6, I'll report back when I reboot.

OK That's fixed, now I've got a nice clear desktop, thanks BitaBrotha for pointing that out.

So copying the above file from FC 6 or FC7 works, if you don't have an earlier version of FC, try this code, filed as, /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>

Last edited by decrepit; 02-11-2008 at 08:40 AM.
 
Old 02-13-2008, 02:51 AM   #9
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Good you have it working as you want. If you mount a thumb drive or external drive, does it show on the desktop once plugged in?

Thnx.
 
Old 02-14-2008, 01:52 AM   #10
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Original Poster
Rep: Reputation: 34
Sorry I meant to say, first thing I did was plug in my usb card reader, mounted the SD card automatically on the desktop, no problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to stop USB automounting of wireless adapter? Micro420 Linux - General 4 05-12-2007 12:33 AM
Stop automounting tired Fedora 5 06-05-2005 11:33 AM
Automounting Samba partitions with a twist PiMoGo Linux - General 1 11-06-2002 09:35 PM
Automounting a samba share at bootup stodge Linux - Software 1 02-16-2002 02:28 AM
automounting vfat partitions da Perp Linux - Newbie 9 11-14-2001 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration