LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mount points on usb devices (dig. camera, zip drive, external hard disk) (https://www.linuxquestions.org/questions/linux-hardware-18/mount-points-on-usb-devices-dig-camera-zip-drive-external-hard-disk-164922/)

Impaler 04-01-2004 07:33 AM

Mount points on usb devices (dig. camera, zip drive, external hard disk)
 
Hi! I have some problems using my USB devices.I am using Mandrake 9.2 and I want to make a mout point for my digital camera.
The system recognises my camera and I can download the data with some grafic
programs but it would be much more convinient to make a mount point for that.
Do you know generaly where can I locate my usb devices inside the system so I can make some mount points for more "easy to use" environment?

fulanolinux 05-29-2006 07:13 PM

Hello all,

In my case I had to recompile the kernel in order to add scsi device support (scsi cdrom support), which adds module sr_mod (check with modprobe -l or lsmod if you already have it), since usb devices are accessed via scsi devices.
After that (make xconfig, make modeles_install) , reboot and mounted /dev/scd0 on /mdeia/dvdrecorder (or any other mount point).
mount -t iso9660 /dev/scd0 <mountpoint>
In some cases, depending on the number of usb devices attached, the device id may differ from scd0, being another number. In such case, use lsusb (figure out bus and device ids), /proc/scsi files, /var/log/messages.
regards,
F.

AwesomeMachine 05-29-2006 10:50 PM

You can plug in the camera, type:

dmesg | tail

and read what device designation linux has given the flash memory. Then, make a directory, and mount it there with:

mount /dev/sdb1 /mnt/camera

Go there:

cd /mnt/camera

see if the files are there:

ls

theNbomr 05-29-2006 11:08 PM

You can only 'mount' a camera that uses the USB Mass Storage interface method. If your camera only supports PTP (or some other proprietary protocol), you will have to use a program with built-in knowledge of the protcol (ie drivers). If your camera does support USB mass storage, you can create arbitrary mount-points. There may standard locations used by USB hotplug or other systems of automatic mounting. If you don't want to use those, you can manully mount the camera at any mountpoint you choose.

--- rod.


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