You are not logged in.
Hi
In order to use 3g modems instead of usb switching, I eject the mounted partition which disallows me from using the stick as a modem. I found it very simple, and I do not even have to install any kind of additional packages.
What I would like is though, disabling these partitions from auto mounting in GNOME. I seek a general solution, so when I use any kind of usb modem, I do not have to eject the partition.
So is there a way to disable the automatic mounting of only these partitions and letting everything else do it (like thumb drives, external hard drives, etc.)?
You may corrupt the souls of men, but I am steel. I am doom. I march for Macragge, and I know no fear!
Offline
First find the uuid of the partitions you don't want to auto mount with
sudo blkidThen add an entry in /etc/fstab like this:
UUID=A111-A111 /run/media/$USER vfat noautoThe noauto option does the trick.
I'd rather try touching the moon
than take on a whore's thinking.
Al Swearengen
Offline
First find the uuid of the partitions you don't want to auto mount with
sudo blkidThen add an entry in /etc/fstab like this:
UUID=A111-A111 /run/media/$USER vfat noautoThe noauto option does the trick.
Thank you for the reply!
This solution is only good for one particular stick. However, I want to set up my Wife's notebook for travelling abroad, and I do not know the UUID of the stick She will get (and of course She does not have the knowledge to edit fstab).
This is why I started wandering about a general solution.
The partition is labeled TYPE="iso9660". Can I put somehow this in fstab to disable all hardware auto mount with this type? Or SCSI CD-ROM? (it is recognised as such)
That would be a general solution for usb modems, and She does not want to use CD-ROMs anyway.
Last edited by bobzxr (2013-05-27 11:40:12)
You may corrupt the souls of men, but I am steel. I am doom. I march for Macragge, and I know no fear!
Offline