Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libparted: Add support for atari partition tables | John Paul Adrian Glaubitz | 2016-12-22 | 1 | -0/+1 |
| | | | | | Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: Brian C. Lane <bcl@redhat.com> | ||||
* | libparted: remove limits on loop labels | Colin Watson | 2010-08-20 | 1 | -1/+2 |
| | | | | | | | | | | | | | There's no reason to impose any particular limit on loop labels, since they just represent a single large partition. Sector counts over 2^32 are needed for large RAID arrays. Change the limit to 2^64 since that's the upper limit imposed by libparted and it saves us implementing the limit functions separately. This bug appears to have been introduced by commit 2dbc645c. * libparted/labels/pt-limit.gperf: Change limits on "loop" to 2^64. * tests/t9021-maxima.sh: Update for the new loop limit. * NEWS (Bug fixes): Mention it. | ||||
* | libparted: factor out duplication, hook up new APIs | Jim Meyering | 2009-12-08 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parted/disk.h [struct _PedDiskOps]: (max_length, max_start_sector): New members. * libparted/labels/pt-common.h: New file. * libparted/labels/Makefile.am (liblabels_la_SOURCES): Add it. * libparted/labels/dos.c: Include "pt-common.h". (msdos_partition_check): Remove function. (msdos_disk_ops): Remove factored out initializers. * libparted/labels/gpt.c: Likewise. * libparted/labels/dvh.c: Likewise. * libparted/labels/aix.c: (aix_disk_ops, aix_partition_check): Likewise. * libparted/labels/bsd.c: (bsd_disk_ops, bsd_partition_check): Likewise. * libparted/labels/dasd.c: (dasd_disk_ops, dasd_partition_check): Likewise. * libparted/labels/loop.c: (loop_disk_ops, loop_partition_check): Likewise. * libparted/labels/mac.c: (mac_disk_ops, mac_partition_check): Likewise. * libparted/labels/pc98.c: (pc98_disk_ops, pc98_partition_check): Likewise. * libparted/labels/rdb.c: (amiga_disk_ops, amiga_partition_check): Likewise. * libparted/labels/sun.c: (sun_disk_ops, sun_partition_check): Likewise. * libparted/labels/gpt.c (NULL_IF_DISCOVER_ONLY): Remove definition, now that it's in pt-common.h. | ||||
* | libparted: use gperf-generated lookup function | Jim Meyering | 2009-12-08 | 1 | -0/+12 |
* libparted/labels/pt-tools.c (ptt_partition_max_start_len): Rewrite to use the gperf-generated look-up function. (ptt_partition_max_start_sector): New function. (ptt_partition_max_length): New function. * libparted/labels/pt-tools.h: Declare them. * libparted/labels/Makefile.am (GPERF, GPERF_OPTIONS): Define. (BUILT_SOURCES): Define. (liblabels_la_SOURCES): Append pt-limit.gperf. (pt-limit.c): New rule. (MAINTAINERCLEANFILES): Remove useless definition. (DISTCLEANFILES): Set to $(BUILT_SOURCES). * libparted/labels/pt-limit.gperf: New file. * cfg.mk (bootstrap-tools): Mention gperf. * bootstrap.conf (buildreq): Require gperf-3.0.3. |