LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   fedora8 how to stop all partitions automounting during bootup (https://www.linuxquestions.org/questions/fedora-35/fedora8-how-to-stop-all-partitions-automounting-during-bootup-618343/)

decrepit 02-03-2008 06:12 AM

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?

budword 02-03-2008 10:25 AM

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

decrepit 02-04-2008 06:04 AM

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.

shafty023 02-09-2008 11:51 AM

what partitions are you seeing on the desktop? Please give a name and description of them

gabz77 02-09-2008 07:36 PM

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....

decrepit 02-10-2008 02:40 AM

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.

BittaBrotha 02-11-2008 02:59 AM

Try post #13 at the link below.

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

Let us know if it works?

Thnx.

decrepit 02-11-2008 06:57 AM

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>

BittaBrotha 02-13-2008 02:51 AM

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.

decrepit 02-14-2008 01:52 AM

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.


All times are GMT -5. The time now is 11:27 PM.