Re: [PATCH] sun disk label: fix signed int usage for sector count




The current sun disklabel code uses a signed int for the sector count. When
partitions larger than 1 TB are used, the cast to a sector_t causes the
partition sizes to be invalid:


Is not it that the sun disklabel does not even support
[ptabs/partitions] more than 1 TB?


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: fdisk question (long)
    ... > I have a 120G HDD, in the BIOS is set as LBA. ... > I've used sysinstall to make partitions and the result is bellow: ... BIOS sector numbering starts with sector 1 ... The CHS descriptor has overflowed -- nolonger meaningful. ...
    (freebsd-questions)
  • 4.9 and partitions larger than 1 terabyte
    ... Figures below won't work with BIOS for partitions not in cyl 1 ... BIOS sector numbering starts with sector 1 ... tracks/cylinder: 255 ... cylinders: 13053 ...
    (comp.unix.bsd.freebsd.misc)
  • Re: 200GB IDE disk on old system
    ... the disk so biosroutines can load the kernel? ... Figures below won't work with BIOS for partitions not in cyl 1 ... BIOS sector numbering starts with sector 1 ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Large Drive CBM DOS Mapping Proposals
    ... It should support subdirectories and it will be using the MD/ ... CD/RD commands for this. ... I support as many partitions as the disk can hold, ... 254 on every sector. ...
    (comp.sys.cbm)
  • Re: beating a dead horse - was "Disk defragmentation - is it worth it?"
    ... Yes the imager "debate" is a joke but I think it's good to discuss the ... Testing was with NTFS Partitions. ... Data" options however "Backup Actual Data" results in a sector backup, ...
    (comp.sys.ibm.pc.hardware.storage)