LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Using a USB flash drive with Linux (https://www.linuxquestions.org/questions/linux-hardware-18/using-a-usb-flash-drive-with-linux-90977/)

deception 11-02-2005 10:25 PM

I've been following this discussion and have been playing around with the same problem.
Thing is, when you mount you're device as sda? and you pull it and reconnect it, it can come up as device sdb, sdc.

I know they invented the hotplug package, which is now absolete, because of replacement by udev.
Which makes it possible to recognize hardware threw there advertised name. Like "Logitech MX1000". Had to get this working in kernel 2.6.8.
Kernel 2.6.12 works out of the box, only misconfigging some buttons.

There's also some sort package from Compaq which does about the same, don't know the name anymore.
Was an RPM which I couldn't get to work on my Debian system then.

How to make it be recognized and mounted by udev to the specific map I don't know, google some more on udev with usb.
Or have a look here: http://wiki.archlinux.org/index.php/...es_to_a_device


Grtz Decep.

d00bid00b 11-03-2005 11:25 AM

I recently bought a USB mp3 player which is 1Gb and uses USB2.0 I also have a Sony digital camera also on USB. I have set up my /etc/fstab to be able to mount the digital camera using mount /mnt/digicam so that it loads onto /dev/sda1. Recognising that USB is mounted as a device not as a partition, I created an entry in /etc/fstab for /dev/sdb1 but while the digital camera can still mount fine, the mp3 player doesn't - irrespective of whether the digital camera is connected first (which would be allocated to sda, I would have thought, meaning additional devices would be mounted at sdb or sdc, etc.) or not. The output message is that it is not a valid block device, even though using Kinfo, the drive is recognised as a scsi device. I am going to see if I can figure out what file format it is in (e.g. FAT32, msdos, or whatever) and change that in the /etc/fstab. As far as I know the device using USB2.0 will only affect the speed of data transfer rather than how the device would be accessed. Is this correct?
I've followed this thread with great interest and will be looking to use some of the tips as soon as I get home. Any other suggestions of things that I could try (yes, I will post the error and other messages should my attempts continue to be unsuccessful).

Cheers


All times are GMT -5. The time now is 12:14 AM.