turn OFF automount of media

I just installed openSuse 11.1 and it automount the media and opens a window for it. I got the window to stop opening, how do I get it to stop automounting the media?

don’t insert the media until you are ready to use it, and need it
mounted…


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

That answer is really of no help …

I am running a customized server on Suse and the server code will manage mounting/unmounting of the media …

So still looking for an answer …

As the so called “automatic mounting” is done after an interaction between HAL and the Desktop, it is interesting to know if you have a Gnome, KDE or whatever GUI session running.

Out of personal curiousity, can you tell me if there is any "automatic mounting’ when there is no GUI login (which could be the normal situation while you say this is a “server system”).

Also on 11.2 this is handled a bit different (at least with KDE 4). The device notifier pops-up, but when you ignore that, there is no mounting done.

If you are talking about automounting media when k4 is running, this can be turned off in the device notifier settings. If you are talking about automounting the openSuse dvd on machine turn on then I am not sure, except to change your bios to boot from harddrive first.

jrfk2 wrote:
> That answer is really of no help …

your question was really of no help…

that is, it was so lacking of required information that it was
impossible to read your mind…

how did you expect anyone could know you were running a customized
server and therefore you actual needs?

> I am running a customized server on Suse and the server code will
> manage mounting/unmounting of the media …

if you had mentioned that earlier i would have been on the same track
as Henk (that is, why are you running a gui anyway?)

> So still looking for an answer …

do not install X and use Webmin <http://www.webmin.com/> to administer
your custom server from the familiar comfort of your Redmond desktop…


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

Do you even understand what Webmin is? It is a Webserver which logs in another server via remote with full root access and is often criticised for its multiple security holes.

Oh my, when arrogance couples with ignorance…

When you think you can add usefull information, or even correct otherones advice, that is correct. But there is no need to add such remarks. When you feel like that, better go out for a walk in the sun.

DenverD recommended an highly insecure solution without even knowing what he writes about, I pointed that out.

Please forgive me for commenting on his arrogance as well. But I don’t see the problem here since DenverD / palladium / whoever will not even care at all (since he is way beyond useful information).

I’ll enjoy the sun nevertheless, thank you for the tip.

I will not comment about if he does or not, but we do. We want to keep these forums to the point and also as friendly as possible.

Thank you for your cooperation.

I am running Gnome. I logged out and inserted a USB key and when I logged back in it was automounted. hope this helps …

Where do I find the device notifier settings? thanks …

Please refer to *** inserts above

Try running this command:

gconftool-2 -R /desktop/gnome/volume_manager

or just follow the tips under:
Disable GNOME Automounting

If don’t need all of the goodies that gnome or kde brings to user, you can use some other lightweight desktop eg. lxde?

jrfk2 wrote:
> I am running Gnome. I logged out and inserted a USB key and when I
> logged back in it was automounted. hope this helps …

i guess if you

-logged out from Gnome
-logged into the CLI as root
-switched from init 5 to init 3
-then inserted the USB key, that nothing would happen (maybe, i don’t
know)
-you could confirm confirm if it does or not that by using the command
line in init 3 to go to /media and see if a FLASH DRIVE is mounted?

in another post you wrote: “the server code will manage
mounting/unmounting of the media” and i wonder if it is your wish to
preload (unmounted) some USB receptacles with USB keys/flash drives
for future use and then (say) mount them (or just one?) on the demand
of your ‘server code’ is that your plan/desire?

and, if so what is the problem with allowing each preloaded physical
USB slot to also be mounted?


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

My question was: “what is the situation when NOBODY is loged in in the GUI”. I would check that with

mount

(from the console login) and not by loging in into the GUI.

In any casr, thanks for the time spend. I have this (and a few more tests) in my “todo” list, because the behaviour is very vague (no documentation found by me so far).

jrfk2 wrote:
>> *** Then tell me what more information would be useful. Help me help
>> myself.***

i understand your frustration…

i’ve just sent a post with some questions because i’m still not at all
clear what it is you are trying to accomplish by logging out of gnome
(and, i guess leaving X running? or not?) and then sticking in a USB
key…and, then what is the server code supposed to do? wait for some
trigger to request a specific USB device to be mounted, used somehow
(how?) then unmounted…

>> ** I need a GUI to work on new code for the cuatomized server **

i can’t say all, but i can say most Linux servers in commercial
production use today work perfectly without X and Gnome or any other
DE being installed…and, therefore code development (in a GUI
environment is most often done (and tested) on a development machine…

is there a reason your client wants you to develop on the production
machine?

and, this server: what are you serving? files, a print queue, music,
video, web site…what?


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

I could imagine that the OP does not want it mounted on /media/<what-HAL-takes>, but on a, for his system, much more logical place. In any case I can sympathise with everybody who askes about an “automatic feature” that is forced upon him: “how can I switch this off?”
For me that is true for cars switching light on/off, starting screen wipers and the like as well as for software. This counts specialy for Linux “which is all about choice” and I want know to how to choose in this case!

But I agree with what I think you express underlying your posts, that we do know not much about what the OP wants. We know more about something that hinders him and on offering alternatives he surprises us with a “not in my sutuation”. Alas our energy and time spoiled.

Hi FOlks, appreciate all the help … I found in the Gnome configuration editor I searched on automount and found /apps/nautilus/preferences/media_automount and unchecked it and now the media doesn’t automount anymore …

thanks again for the help

Nice you are helped, but I still wonder where the word ‘automount’ comes from :\