[LBo] How do I get my thumb drive to work in Kanotix?

Anita Lewis A.Lewis at linuxbasics.org
Sat Jul 8 18:15:37 CEST 2006


On 07/08/2006 11:47 AM Brian Reichert wrote:

<snip>

>usb-storage: device found at 3
>usb-storage: waiting for device to settle before scanning
>  Vendor:           Model: USB Flash Memory  Rev: 1.00
>  Type:   Direct-Access                      ANSI SCSI revision: 02
>SCSI device sdb: 2002944 512-byte hdwr sectors (1026 MB)
>sdb: Write Protect is off
>sdb: Mode Sense: 0b 00 00 08
>sdb: assuming drive cache: write through
>SCSI device sdb: 2002944 512-byte hdwr sectors (1026 MB)
>sdb: Write Protect is off
>sdb: Mode Sense: 0b 00 00 08
>sdb: assuming drive cache: write through
> sdb: sdb1
>sd 2:0:0:0: Attached scsi removable disk sdb
>usb-storage: device scan complete
>
>So, if you look at the 3rd line up from the bottom you can see it make my
>pendrive sdb1.  
>  
>
<snip>

>I still find udev rules a bit confusing because I don't do them often enough.
>  
>

This is precisely why I think using udev is good and why I'm using it.  
I have a camera, palm, zip drive, mp3 player, and the jump/thumb drive.  
These things all get something on sdxx and it is the first one that gets 
sda.  Rather than figure out which one to mount on and so that I can 
have it nailed down in /etc/fstab so that I can just do 'mount 
/mp3player' or 'mount /zip', I use udev.  I think that page that I gave 
covers it pretty well.  The trick is to find out where the drive is when 
you start out and that was going to be my suggestion:  Try the same 
command only with sdb1 instead of sda1. 

udevinfo -p /sys/block/sdb/sdb1 -a |less

Anita




More information about the QnA mailing list