> >
> > Hard to tell what's wrong, my guess is that the kernel doesn't know it
> > is a partitioned device.

> I think, your guess is correct. Because by capturing USB packets, I
> found that FAT super block reside at sector 0x20 (while I tried read
> at sector 0). Just to confirm if this is the reason, I incremented
> sector by 0x20 in request queue read function. After this, the vfat
> mounting was OK.
> So as you pointed out, kernel doesn't know if it is a partitioned
> device. So how to make kernel aware of it?
> I have done alloc_disk(4), and then created four device nodes by
> "mknod /dev/my_usb b 125 i" (i is 0-3)
>

mount -t vfat /dev/my_usb1 /mnt is working fine. I think, this is
second partition where   FAT partition table reside.
Thanks for your inputs.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to