Mounting a Nikon 4500 digital camera

Joel Hammer Joel
Mon May 17 11:47:00 PDT 2004


I would like to get the right command to  mount a nikon 4500 via a usb
cable. The camera uses usb mass-storage

I can mount my nikon 2500 no problem with the following command:

     mount -t vfat /dev/sda1 /mnt/camera

When I try this with my 4500, I get two errors:

First, no media found.
If I try the mount command again, this error appears:
/dev/sda1 No such device

After this, the 2500 won't mount either, giving the no /dev/sda1 device,
too.

This device going missing is no doubt due to  devfs.  If I run
/etc/init.d/devfsd reload, the device reappears like magic, but only if
I reattach my 2500.

The two cameras appear to attach to different scsi ports or what ever.
Here is the output of cdrecord -scanbus when both cameras are attached:

scsibus0:
        0,0,0     0) 'ATAPI   ' 'CD-ROM 52XMax   ' '1.20' Removable CD-ROM
scsibus1:
        1,0,0   100) 'NIKON   ' 'NIKON DSC E2500 ' '1.00' Removable Disk
scsibus2:
        2,0,0   200) 'NIKON   ' 'NIKON DSC E4500 ' '1.00' Removable Disk

The 4500 attaches to the same scsi port (2) whether of not the 2500 is attached.
If I try to mount the 4500 with:
mount -t vfat /dev/sda2 /mnt/camera
I get a device not found (/dev/sda2) error. Running devfsd doesn't fix this
problem.

As I know very little about usb and nothing about scsi or devfs, a simple
explanation would be really appreciated.

Thanks,

Joel





More information about the Linux-users mailing list