Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
who is automounting?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
xorserer
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 119
Location: Israel

PostPosted: Sat Jul 14, 2007 11:56 pm    Post subject: who is automounting? Reply with quote

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
View user's profile Send private message
nightmorph
Developer
Developer


Joined: 23 Jan 2005
Posts: 1382
Location: SoCal

PostPosted: Sun Jul 15, 2007 12:37 am    Post subject: Reply with quote

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
View user's profile Send private message
xorserer
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 119
Location: Israel

PostPosted: Sun Jul 15, 2007 12:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Sun Jul 15, 2007 4:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Tue Jul 17, 2007 9:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2735
Location: Parma (Italy)

PostPosted: Sat Oct 27, 2007 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
xorserer
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 119
Location: Israel

PostPosted: Sun Oct 28, 2007 1:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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