[parted-devel] [Parted-maintainers] Debian Bug #578097: No support for CMS-formatted disks

Jim Meyering jim at meyering.net
Tue May 11 14:58:49 UTC 2010


Stephen Powell wrote:
...
> Now, for the specific "bullet points" for NEWS:
>
> o Fixed a bug in which the starting block for the implicit partition
>   of LDL disks was miscalculated if the disk was formatted at a block
>   size other than 4096.  The program now calculates the starting block
>   of the partition correctly, regardless of whether the disk has a
>   block size of 512, 1024, 2048, or 4096.  (These are all the valid
>   block sizes.)
>
> o Enhanced LDL support to use the "formatted blocks" field of an LDL-
>   format disk label (for version 2 and above LDL formats) to determine
>   the size of the partition, rather than relying on disk geometry.
>   This will allow parted to determine the correct partition size if,
>   for example, an image copy backup of a 3390-3 volume is taken at
>   the home site and restored to a 3390-9 volume at a disaster recovery
>   hot site.  The extra space at the end of the 3390-9 volume is not
>   part of the partition, and parted now knows that.
>
> o Added support for CMS-formatted minidisks, both non-reserved and
>   reserved, provided that they are on CKD DASD.  CMS minidisks on
>   FBA DASD are not supported at this time.  Also, CMS minidisks on
>   CKD DASD which use the DIAG driver are not supported either.  The
>   ECKD driver must be used.
>
> The changes to function dasd_alloc_metadata in dasd.c are necessary to
> support both the bug fix and the enhancements.  It is important that
> no metadata/partition overlap occurs, and it is important that all
> sectors on an LDL or CMS disk be covered either by the partition or by
> metadata.

Thanks for the detailed explanation.
I'll add it to NEWS once the paperwork has gone through.



More information about the parted-devel mailing list