| View previous topic :: View next topic |
| Author |
Message |
xorserer Tux's lil' helper


Joined: 07 Oct 2004 Posts: 119 Location: Israel
|
Posted: Sat Jul 14, 2007 11:56 pm Post subject: who is automounting? |
|
|
hi guys,
whenever i login (using gdm+gnome), 2 of my partitions are automatically mounted,
and i don't want them to.
all i want is to be able to mount them (by user, not root) on demand, preferably graphically and not w/ terminal
i know this must have been answered many times here, but i just can't seem to find it...
which program is automounting? how do i stop this?
(i hope this is the right place to ask, as i think it has something to do with gnome or one of it's components...)
partition layout:
| Code: |
Device Boot Start End Blocks Id System
/dev/sda1 1 13 104391 83 Linux
/dev/sda2 14 7096 56894197+ f W95 Ext'd (LBA)
/dev/sda3 * 7097 9729 21149572+ 7 HPFS/NTFS
/dev/sda5 14 141 1028128+ 82 Linux swap / Solaris
/dev/sda6 142 5007 39086113+ 83 Linux
/dev/sda7 5008 7096 16779861 7 HPFS/NTFS
|
/etc/fstab:
| Code: |
/dev/sda1 /boot ext2 noauto,defaults 1 2
/dev/sda6 / ext3 noatime 0 1
/dev/sda5 none swap sw 0 0
#/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user 0 0
#/dev/fd0 /mnt/floppy auto noauto,user 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
#/dev/sda3 /mnt/WinXP ntfs noauto,ro,user,umask=0222,nls=utf8 0 0
#/dev/sda7 /mnt/Backup ntfs noauto,ro,user,umask=0222,nls=utf8 0 0
#/dev/sda7 /mnt/Backup ntfs-3g noauto,user,umask=0222,locale=en_US.utf8 0 0
#/dev/hdb1 /mnt/adhoc ntfs noauto,ro,user,umask=0222,nls=utf8 0 0
#/dev/sdb1 /mnt/USB auto noauto,user,exec,iocharset=utf8 0 0
|
the partitions that mount are the two NTFS ones, sda7 & sda3
thanks,
Nir _________________ Prescott-2.8GHz | ThermalTake SilentTower | Asus P4P800-Deluxe | 1536mb | 7600GS | Gentoo
ThinkPad T41 | Pentium-M 1.5GHz | 1024mb | Windows XP |
|
| Back to top |
|
 |
nightmorph Developer


Joined: 23 Jan 2005 Posts: 1382 Location: SoCal
|
Posted: Sun Jul 15, 2007 12:37 am Post subject: |
|
|
Uncomment their entries (delete the # in front of the line) so that you can take advantage of the "noauto" mount option. _________________ <UzzaDead> What is CONFIG_USB_MON?
<petteyg> A Jamaican USB configuration?
dirtyepic: "We have more cupholders."
GDP || PR |
|
| Back to top |
|
 |
xorserer Tux's lil' helper


Joined: 07 Oct 2004 Posts: 119 Location: Israel
|
Posted: Sun Jul 15, 2007 12:39 am Post subject: |
|
|
that's how it was at first... and still was mounted
i actually tried commenting while experimenting to get it to stop mounting,
and just left it like this.
the only thing that changed is the mount point.. _________________ Prescott-2.8GHz | ThermalTake SilentTower | Asus P4P800-Deluxe | 1536mb | 7600GS | Gentoo
ThinkPad T41 | Pentium-M 1.5GHz | 1024mb | Windows XP |
|
| Back to top |
|
 |
Dirk.R.Gently Guru


Joined: 29 Jan 2007 Posts: 546 Location: Titan
|
Posted: Sun Jul 15, 2007 4:45 am Post subject: |
|
|
| xorserer wrote: | that's how it was at first... and still was mounted
i actually tried commenting while experimenting to get it to stop mounting,
and just left it like this.
the only thing that changed is the mount point.. |
this is a good question. I too have tried "auto", and it mounts (although not on the desktop), "noauto", and it mounts (and ON the desktop), and takiing out noauto/auto, which just mounts the same as "auto". _________________ • Helpful Linux Tidbits |
|
| Back to top |
|
 |
Dirk.R.Gently Guru


Joined: 29 Jan 2007 Posts: 546 Location: Titan
|
Posted: Tue Jul 17, 2007 9:28 pm Post subject: |
|
|
Ok I think I figured it out a little more.
What I said was correct in that inserting "noauto" would place the volume on the desktop, but I know why. The fstab is correct, "noauto" will not mount it, but "Removable Drives and Media" is responsible. RDM reads the /etc/fstab figures it is a drive that is removable and mounts it. In mine it is not, it is a seperate-partition. You can uncheck all the removable items in the RDM preferences (under storage), and the drives won't be automatically mounted.
Perhaps there is a way to blacklist certain drives? _________________ • Helpful Linux Tidbits |
|
| Back to top |
|
 |
Onip Advocate


Joined: 02 Sep 2004 Posts: 2735 Location: Parma (Italy)
|
Posted: Sat Oct 27, 2007 4:15 pm Post subject: |
|
|
I'm having this issue on my notebook since gnome-2.18 . Strangely on my desktop pc this doesn't appear but I cannot find where's the difference between the two.
Any news? _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tanto religio potuit suadere malorum |
|
| Back to top |
|
 |
xorserer Tux's lil' helper


Joined: 07 Oct 2004 Posts: 119 Location: Israel
|
Posted: Sun Oct 28, 2007 1:38 am Post subject: |
|
|
Onip,
to this day i have RDM completely turned off, and nothing (inc. USB storage and CDs) is automounted.
it's not a complete fix, but works for me _________________ Prescott-2.8GHz | ThermalTake SilentTower | Asus P4P800-Deluxe | 1536mb | 7600GS | Gentoo
ThinkPad T41 | Pentium-M 1.5GHz | 1024mb | Windows XP |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|