2009/7/30, Srdjan Todorovic <[email protected]>:
> Hi,
>
> On 30/07/2009, loody <[email protected]> wrote:
>
>> From the log, it seems scsi driver address the usb flash as sda1 and
>> /dev/sda1 node has been created as block device with (8,0), (major,
>> minor) number.
>
> Wrong major/minor number...
>
>> I also have create /mnt there.
>> Did I forget something?
>
> Your forgot to look at Documentation/devices.txt ? ;)
>
>> SCSI device sda: 7987198 512-byte hdwr sectors (4089 MB)
>
> sda is the device not the partition...
>
>> sda: assuming drive cache: write through
>>  sda:<7>usb-storage: queuecommand called
>>  sda1
>
> ... because this tells you that you have a partition as sda1
>
>> /temp # mount -t vfat /dev/sda1 /mnt/
>
> And this is correct...
>
>> brw-r--r--    1 0        0          8,   0 Jan  1 00:00 sda1
>
> ... but this is the *device* (8,0), not the partition.
>
> Did you not want sda to be (8,0) and sda1 to be (8,1) ?
Hi:
thanks for your kind help.
Can I get the conclusion that in scsi block device the minor# 0 is for
device and others are for partition?
appreciate your kind help,
miloody

--
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