Anton Zinoviev wrote: > On 16.III.2004 at 00:09 Maitland Bottoms wrote: > > > > ----- partitions ----- > > Pt# Device Info Start End Sectors > > Id System > > 1: /dev/scsi/host0/bus0/target0/lun0/part1 0 3 32769 > > 0 SGI volhdr > > 11: /dev/scsi/host0/bus0/target0/lun0/part2 0 1017 8386733 > > 6 SGI volume > > 12: /dev/scsi/host0/bus0/target0/lun0/part3 5 1000 8213016 > > 3 SGI raw > > 13: /dev/scsi/host0/bus0/target0/lun0/part4 1001 1016 131936 > > 82 Linux swap > > ----- Bootinfo ----- > > > Confusion of partition numbering: > > partconf: Creating swap on /dev/scsi/host0/bus0/target0/lun0/part13 > > mkswap: /dev/scsi/host0/bus0/target0/lun0/part13: No such file or directory > > > > should be > > mkswap /dev/scsi/host0/bus0/target0/lun0/part4 > > What is the rule to map the partition number in the disk label to > partition numbers in /dev/scsi/...? AFAIK both partman and partconf > use parted for such mapping so both do this wrong.
They are sorted in ascending order, including all partitions. For the example above: #1 -> /part1 #11 -> /part2 #12 -> /part3 #13 -> /part4 Thiemo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]