LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Automounting my Digicam (https://www.linuxquestions.org/questions/linux-newbie-8/automounting-my-digicam-145785/)

DrD 02-13-2004 04:48 PM

Automounting my Digicam
 
I've been able to mount my camera pretty easy with my new install of Suse 9.0, by doing "mnt -t vfat /dev/sda1 mnt/usbdisk" (which I read off another thread) but is there a way to automount it so that the moment I plug it in, it will show up in that folder (/mnt/usbdisk)?

Crashed_Again 02-13-2004 04:55 PM

What I did for my camera was write a little script for it:

#!/bin/bash
mnt -t vfat /dev/sda1 /mnt/usbdisk
cd /mnt/usbdisk
konqueror

Then when you run the script it is mounted automagically and konqueror pops up and shows you what pictures you have. I don't know if thats what your looking for but thats what I do.

aaa 02-13-2004 04:55 PM

You might be able to configure automount to do something like this. Automount will automatically mount when you try to access the directory.

DrD 02-13-2004 05:07 PM

Crashed_Again:
Well, what I'm trying to do is get the same kind of plug-n-play automounting I get from other OS's - where I just plug it in, and it gets mounted to somewhere like -that-, rather then running something like a script or a command. Not a big deal - but it'd be handy.

aaa:
Quote:

You might be able to configure automount to do something like this. Automount will automatically mount when you try to access the directory.
How do I configure automount?

DrD 02-14-2004 01:46 AM

bump
In a nutshell, I just want to know how to have my digital camera automount when I plug it in. Anyone know how to do this? It's just a USB storage device, like my jump drive (which I also want to automount).

aaa 02-14-2004 09:24 AM

The Automount-HOWTO:
http://www.ibiblio.org/pub/Linux/doc...Automount.html
I'm not sure whther you can make it mount when you plug it in, but automount will mount it whenever you try to access /mnt/usbdisk. I suggest creating a certain folder to contain the automounted stuff so it won't interfere with the other things not being automounted:'/mnt/auto/usbdisk'.


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