LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   simple, quick question.. (https://www.linuxquestions.org/questions/linux-hardware-18/simple-quick-question-128796/)

b0uncer 12-25-2003 05:57 AM

simple, quick question..
 
ok, this one should be easy...it's just that I don't - for some reason - remember how to do this and don't have time right now to figure it out.

I have a new usb memory stick, which I'd like to connect to my linux box. no problem, when I plug it, (altough I can't get any sign) I can see it, for example, by opening XCDroast or something similar which shows some devices - there it is, Memory Adapter.

the question is: where do I find the device which I mount? I guess it's sda or sda4, but I'm not sure...so where could I possibly see which/what device file is the one I need?

thanks for help, altough this one's a beginner's question :) it's funny that a person who has used linux for a while can't remember these easy things....but I'm really in a hurry now so please help!

by the way - I tried installing this on an old win98se last night, and it took me three hours to get the drivers installed. on linux? I plugged in, and could see it - it's only the device file that's missing.... :) hehee...

froedi 12-26-2003 08:15 AM

hi,

I'm not sure whether this is the most elegant way (I'm a newbie myself ;)) to find out, which device to mount - but it helped for me:

plug in your usb stick, then do

Code:

cat /var/log/messages
at the end of the file you should find something similar to this

Code:

[...]
Dec 26 15:07:02 schweden kernel: hub.c: new USB device 00:04.3-1, assigned address 2
Dec 26 15:07:05 schweden kernel: Initializing USB Mass Storage driver...
Dec 26 15:07:05 schweden kernel: usb.c: registered new driver usb-storage
Dec 26 15:07:05 schweden kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Dec 26 15:07:05 schweden kernel:  sda: sda1
Dec 26 15:07:05 schweden kernel: USB Mass Storage support registered.

as you can see, sda1 is the device to mount in order to access your memory stick.

easy, wasn't it? ;)

I hope I could help you.

b0uncer 12-27-2003 01:22 PM

yeah, except that I don't have the /var/log/messages file....guess I don't have some logging on. nevertheless, thanks for trying to help :) I got the problem solved myself, by trying to mount different devices (which, I guess, is not the easiest way but...) and finally I got lucky :)

btw. this memory stick just kicks *ss :) I got fed up with all that rw-burning because it took so much time..and discs were big.

froedi 12-27-2003 02:42 PM

I've just found out that having a look at the output of dmesg would have helped, too. anyway - I'm glad you figured it out. ;)

b0uncer 12-28-2003 12:34 PM

yeah.. :) well, good to know for similar problems in the future.. ;)


All times are GMT -5. The time now is 05:46 PM.