LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Mounting a digital camera? (http://www.linuxquestions.org/questions/slackware-14/mounting-a-digital-camera-153057/)

the_rydster 03-03-2004 12:59 PM

Mounting a digital camera?
 
I have edited my /etc/fstab to include my digital camera:

/dev/sdb1 /mnt/camera vfat noauto, user, ro 0 0

Now with the above I keep getting an error message saying mount point does not exist. However if I enter this:

mount /dev/sdb1 /mnt

The camera mounts no problem and all is well.

Also the camera seem to swap between sda1 and sdb1 for no apparent reason I could do with a way to 'fix' it to one call out device. My USB floppy seem to allways get 'attached' to sda so what is going on here is strange.

Cheers

Nis 03-03-2004 01:33 PM

Just go to /mnt and, as root,
Code:

mkdir camera
to fix the first problem.
As for the other I don't have a clue. Sorry. :(

OdieQ 03-03-2004 02:32 PM

hotplug
 
The scsi addresses are dynamically assigned to usb mass storage devices. What you could do is write a hotplug script which mounts the camera or updates /etc/fstab when the camera is plugged in. This is quite easy if you are familiar with basic shell scripting, check out http://linux-hotplug.sourceforge.net/ for documentation.

Cheers,
Odie

the_rydster 03-04-2004 06:06 AM

Of course I never did mkdir camera!

I'll have to look into the scripting to change /etc/fstab I think.

Cheers. :)


All times are GMT -5. The time now is 06:21 PM.