On Wed, 2003-02-19 at 14:21, Robert Vaughn wrote:
> The distinctive number does not translate 1 to 1 with
> the minor number.  If this were the case then when I
> did the following I would get a different answer...
> 
> ls -l /dev/sdb    ....produces 8,16
> 
> Using your theory I would expect 8,1 which would allow
> the device to be translated to dev8-1.  However, the
> results are 8,16.

That's not now Linux numbers devices.  sda is dev8,0.  sda1 is dev8,1. 
A SCSI disk has a max of 15 partitions, so the block device itself (sda)
is minor 0, and each of its partitions increments the minor number.  At
the end of that sequence, the next disk begins.  Therefore, sdb is
dev8,16.  sdb1 is dev8,17.

> My understanding of partitions is that sda, sdb, etc,
> refer to physical devices while sda1, sda2, sda3,
> sdb2, etc refer to partitions.

Yep.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to