At 12:58 PM -0500 7/10/02, Peter B Van Campen wrote:
>I have SuSE 8.0 kernel 2.4.18-64gb-SMP . This sys recognises attachment of an 
>USB 128 MB 'Pen Drive" Mass Storage device, but an entry in /dev/sdx is never
>created, so the device cannot be mounted or otherwise manipulated.

Are you saying that you don't have (for example) a /dev/sda1 device to mount?

It's something I ran into, so here's a quick way to create those devices:

'cat /proc/partitions' to get a list of the partitions available. 
You'll get a list with the major and minor device numbers, number of 
blocks and the device name (followed by a lot of additional info that 
you don't need).

If you don't have an entry for the device in /dev, you can create it 
with mknod:

For example:

mknod /dev/sda b 8 0
mknod /dev/sda1 b 8 1

Format is 'mknod <device> b <major> <minor>'.

Whenever you attach a USB device, you should see a kernel message 
indicating what scsi device it was mapped to.  I think you can also 
find the information in /proc/scsi/scsi.

--
Tom Collins
[EMAIL PROTECTED]


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to