LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-02-2004, 01:32 PM   #1
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 778

Rep: Reputation: 97
problems mounting digital camera


Help needed to mount digital camera. Under Slackware, when I plug in my camera, it is recognised by the kernel, but I can only mount it if I issue the command mount -t usbfs /dev/sda /mnt/camera, whereas under Mdk, it mounts with mount -t vfat /dev/sda /mnt/camera. Now this works under Mdk, and I can see my pics, but I get nothing under Slack except some cryptic directories appearing under /mnt/camera that bear no resemmblance to anything. I have read the digital camera how-to, and am pretty convinced that my camera uses the vfat filing system All that I get under Slack if I try to mount it as vfat is an error saying wrong fs type, or to many mounted devices
Anyone any ideas as to why this is.

TIA

Last edited by vdemuth; 07-02-2004 at 01:34 PM.
 
Old 07-02-2004, 02:13 PM   #2
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
did you try with partition number - eg, /dev/sda1 instead of /dev/sda?

are you sure you have the necessary modules loaded - (I'm going from memory....) - uhci, usb_storage. and scsi support?

you didn't mention the model - did you check the LQ HCL for any tips?

Last edited by Genesee; 07-02-2004 at 02:15 PM.
 
Old 07-02-2004, 02:40 PM   #3
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 778

Original Poster
Rep: Reputation: 97
Genesee,
Thnx for the fast and accurate reply. Using /dev/sda1 does the trick. I can't say that I understand why, maybe that's something I ned to learn. All I have to do now is get the thing to automount under slack just like it does under Mdk.
Thanks again
 
Old 07-02-2004, 09:08 PM   #4
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
good to hear you got it working

sda1 refers to the number 1 partition, whereas sda to the whole device -- not sure why it worked under mdk, might have to do with the automount feature you mentioned....

 
Old 08-15-2004, 03:51 PM   #5
Ash_UA
LQ Newbie
 
Registered: Aug 2004
Location: Kiev
Distribution: MyLinux 3.0 - a local brew of Fedora Core 1
Posts: 1

Rep: Reputation: 0
Dear Genesee and others,

I have to admit I felt a sadistic pleasure finding out others had the same kind of problems I have...

Well, I have almost the same kind of problem that vdemuth had... only in my case changing sda to sda1 didn't work. Here's what I have:

[root@Alex alex]# mount -t usbfs /dev/sda /mnt/camera
[root@Alex alex]# cd /mnt/camera
[root@Alex camera]# ls -l
total 0
dr-xr-xr-x 1 root root 0 Aug 15 22:29 001
dr-xr-xr-x 1 root root 0 Aug 15 22:29 002
-r--r--r-- 1 root root 0 Aug 15 22:29 devices
-r--r--r-- 1 root root 0 Aug 15 22:29 drivers
[root@Alex camera]# mount -t usbfs /dev/sda1 /mnt/camera
mount: /dev/sda1 already mounted or /mnt/camera busy

Something is definitely wrong because I still can't see the pictures, but I can't figure out what... oh yes, -t vfat doesn't help either:
wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems

What can be wrong?

Thanks,

Ash_UA
 
Old 08-15-2004, 04:25 PM   #6
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
usbfs is a special type of filesystem; it's probably not what you're thinking of. The usbfs is a "fake" filesystem maintained by the kernel to give you information about what devices are connected with USB.

You want to issue a command such as:
mount /dev/sda1 /mnt/camera

You will need to unmount the usbfs filesystem before the previous command will work. It may be simpler for you to just restart the machine to get to a "clean slate".

The information below describes (in very abstract detail) what it is you were seeing with the ls command in /mnt/camera:

The 001 and 002 refer to two different buses (or series of connections if you prefer) that work as USB. Those directories will hold information specific to their bus.

The devices file will contain information about the devices connected on either of the buses mentioned above. It's likely to contain vendor names, product names, etc.

The drivers file will contain information about what modules the kernel is using to talk with the hardware on USB.

Last edited by Dark_Helmet; 08-15-2004 at 04:28 PM.
 
  


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
Mounting a Digital Camera bleedingturnips Linux - Hardware 2 11-19-2005 07:54 AM
Problems mounting Digital Camera jariep Linux - Hardware 2 12-08-2004 01:32 AM
mounting digital camera Veteq Linux - Newbie 1 04-30-2004 02:19 PM
Digital Camera Mounting Roy-Svork Linux - Hardware 1 03-23-2004 09:39 AM
mounting digital camera? mbbender Linux - General 4 08-19-2003 01:08 AM


All times are GMT -5. The time now is 12:32 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