LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2004, 05:48 PM   #1
DrD
Member
 
Registered: Nov 2003
Distribution: Fedora Core 4
Posts: 99

Rep: Reputation: 15
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)?
 
Old 02-13-2004, 05:55 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
 
Old 02-13-2004, 05:55 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
You might be able to configure automount to do something like this. Automount will automatically mount when you try to access the directory.
 
Old 02-13-2004, 06:07 PM   #4
DrD
Member
 
Registered: Nov 2003
Distribution: Fedora Core 4
Posts: 99

Original Poster
Rep: Reputation: 15
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?

Last edited by DrD; 02-13-2004 at 06:43 PM.
 
Old 02-14-2004, 02:46 AM   #5
DrD
Member
 
Registered: Nov 2003
Distribution: Fedora Core 4
Posts: 99

Original Poster
Rep: Reputation: 15
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).
 
Old 02-14-2004, 10:24 AM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
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'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
digicam is not recognized doralsoral Linux - Hardware 2 10-25-2005 08:37 AM
Digicam and tools jaakkop Linux - Software 2 03-09-2005 12:50 PM
Mounting digicam kimchee411 Linux - Newbie 5 10-06-2004 07:15 PM
How to sync digicam xcarder Linux - Newbie 1 01-17-2004 10:23 AM
Digicam tip saavik Linux - Hardware 2 06-29-2003 05:09 AM


All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration