Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm running Fedora. How do I mount/use USB memory devices? I inserted such a device in a USB port. dmesg gives the following:
hub 3-3:1.0: new USB device on port 1, assigned address 3
ehci_hcd 0000:00:02.2: qh dd9a6180 (#0) state 1
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1004
hub 3-3:1.0: new USB device on port 4, assigned address 4
ehci_hcd 0000:00:02.2: qh dd9a6280 (#0) state 1
scsi6 : SCSI emulation for USB Mass Storage devices
Vendor: I0MEGA Model: Mini 64*IOM Rev: 3.04
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi6, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi6, channel 0, id 0, lun 0, type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
updfstab: numerical sysctl 1 23 is obsolete.
How do I now access that device? Would this also work for a USB digital camera?
That will list all partitions that linux recognizes including usb storage devices. From that you can deduce the device file. For example, here's the relevant output for my external usb hard drive:
Disk /dev/scsi/host1/bus0/target0/lun0/disc: 122.9 GB, 122941341696 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/scsi/host1/bus0/target0/lun0/part2 * 2 13090 105137392+ 5 Extended
/dev/scsi/host1/bus0/target0/lun0/part5 2 13090 105137361 b Win95 FAT32
The "/dev/scsi" is your first clue since all usb storage devices run under scsi emulation. I have an extended partition with a FAT32 logical drive which is designated /dev/sda5(note the part5 at the end of the /dev/scsi line). I think you get the idea.
As for your camera, it looks like there's some proprietary interface between linux and the storage media. I wouldn't try writing to it if I were you.
Last edited by kilgoretrout; 11-23-2003 at 01:21 AM.