Commit Graph

233 Commits

Author SHA1 Message Date
Brian C. Lane
3cb85c39f2 Update to parted v3.0
This changes the spec to run autoreconf so that patches to .am files
will be picked up without having to resort to hand-patching .in files.
This should make parted more maintainable in the future.

Add patch to Fix snap radius and don't allow values < 1 (#665496)
Add tests for the snap radius fix.
2011-06-28 13:33:03 -07:00
Richard W.M. Jones
ec61764348 Apply patch which may fix Linux 3.0 problem. 2011-06-05 19:49:47 +01:00
Brian C. Lane
4b10e84f4f Updating to latest upstream v2.4
Drop patches included in upstream
2011-05-26 15:50:30 -07:00
Brian C. Lane
51e87b09cc Add upstream patched for legacy_boot and PED_ASSERT
- Add support for legacy_boot flag for GPT partitions (680562)
- Remove PED_ASSERT for dos geometry calculations (585468)
2011-03-11 17:28:01 -08:00
Brian C. Lane
d57e6a5058 - Tell GCC to stop treating unused variable warnings as errors 2011-02-09 09:18:23 -08:00
Dennis Gilmore
3ae94e9f73 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 08:44:48 -06:00
Brian C. Lane
edc1956dce - Document the align-check command
Resolves: #642476
- Default to 1MiB partition alignment
  Resolves: #618255
2010-12-20 15:40:39 -08:00
Peter Jones
b616963f90 Handle mac labels with differing physical/logical sector sizes better 2010-12-17 11:24:35 -05:00
Peter Jones
c504c93135 Switch to using git to apply patches.
It makes hacking on the result easier.
2010-12-17 11:23:45 -05:00
Jesse Keating
56e09f520d - Rebuilt for gcc bug 634757 2010-09-29 14:58:27 -07:00
Brian C. Lane
dfb1e1bc53 Add patch to handle syncing partition using blkext majors (#634980)
Removed unused _device_get_partition_range function
change back to gnupg for verifying the signature

Resolves: rhbz#634980
Related: rhbz#629719
2010-09-17 14:22:03 -07:00
Hans de Goede
d688a67d24 - Rebase to new upstream 2.3 release
- Drop all patches (all upstreamed)
- Recognize scsi disks with a high major as such (#611691)
2010-07-20 12:57:24 +00:00
Hans de Goede
a2fe9262bf - Rebase to new upstream 2.3 release
- Drop all patches (all upstreamed)
- Recognize scsi disks with a high major as such (#611691)
2010-07-20 10:09:23 +00:00
Hans de Goede
c6c0fcdea5 - Also recognize recovery partitions with id 27 / on gpt (#589451) 2010-05-06 09:12:29 +00:00
Hans de Goede
47ebe5127b - Properly check dm_task_run return value (#585158)
- Fix mkpartfs (ext2) on partitions >2TB (#585159)
2010-04-23 11:15:49 +00:00
Hans de Goede
98510fcf39 - Add a flag for detecting diagnostics / recovery partitions (#583626) 2010-04-19 12:03:29 +00:00
Hans de Goede
211df98dc5 - Parted should not canonicalize symlinks under /dev/mapper (#577824) 2010-04-06 15:16:50 +00:00
Hans de Goede
740a497422 - New upstream version 2.2 (#577478)
- Drop all our patches (all upstreamed)
2010-03-30 12:56:19 +00:00
Hans de Goede
febb3b2fab - Copy needs_clobber value in ped_disk_duplicate() (#561976) 2010-02-18 14:43:51 +00:00
Hans de Goede
eb899f72ea Enable verbose make output (to be picked up the next release 2010-02-14 09:22:18 +00:00
Hans de Goede
1a97476e88 - Don't crash when reading a DASD disk with PV's on there (#563419)
- Don't overwrite the pmbr when merely printing a gpt table (#563211)
2010-02-10 14:01:25 +00:00
Hans de Goede
23df9b3cb9 - If a drive does not have alignment information available default to an
alignment of 1MiB (#559639)
2010-01-31 13:02:42 +00:00
Hans de Goede
4d23b7c8d8 - Fix various memory leaks in error paths (#556012)
- Add %check section to the specfile, invoking make check
2010-01-17 15:57:08 +00:00
Hans de Goede
33fde2056a - New upstream release 2.1
- Drop all our patches (all merged upstream)
2010-01-11 14:03:07 +00:00
Hans de Goede
c11ab73298 - Fix crash when partitioning loopback devices (#546622)
- Drop no-cylinder-align patch:
- its functionality is superseeded by the per disk flags
- its only user (pyparted) has been updated to use those
- this is not upstream so we don't want other programs to start using it
2009-12-20 10:19:49 +00:00
Hans de Goede
ce6563fae4 - Allow partitioning of loopback devices (#546622)
- Add libparted function to query maximum partition length and start
    addresses for a given disk (#533417)
- Add per disk flags functions from upstream, this is the way upstream has
    implemented the disable cylinder alignment functionality
- Add --align cmdline option to specify how to align new partitions see the
    parted man page for details (#361951)
- Make the default alignment for new partitions optimal (#361951)
- When cylinder alignment is disabled, allow use of the last (incomplete)
    cylinder of the disk (#533328)
- Don't crash when printing partition tables in Russian (#543029)
- Make parted work correctly with new lvm (#525095)
2009-12-18 09:42:14 +00:00
Hans de Goede
9aaca8c090 - Fix parted not building on s390 2009-11-11 21:08:51 +00:00
Hans de Goede
b7679338df - Fix error when creating a fresh dasd disk on a dasd device with a
corrupted dasd label (#533808)
2009-11-09 17:46:21 +00:00
Hans de Goede
54768cc1d5 - Fix a compiler warning which is causing build errors (#532425) 2009-11-06 08:45:49 +00:00
Hans de Goede
7061b8af36 - Fix error when creating a fresh dasd disk (#532425)
- Rewrite dasd disk duplication patches, as the old old ones conflicted
    with fixing creating a fresh dasd disk
2009-11-03 12:07:15 +00:00
Hans de Goede
b8f160a800 - Fix a segfault introduced by -18 when operating on plain files 2009-10-30 11:58:36 +00:00
Hans de Goede
40d8282e48 - Add functions to query device / partition table alignments (#528030) 2009-10-29 19:05:51 +00:00
Hans de Goede
5caeecc0e0 - Only change the partition type to 82 when setting the swap flag on dos
labels, not when resetting it
2009-10-08 09:14:01 +00:00
Hans de Goede
128ba94266 - Correctly handle GPT labels on big endian machines 2009-10-06 20:57:12 +00:00
Hans de Goede
788f613dc1 - ped_partition_is_busy() should not throw exceptions (#527035)
- msdos_partition_is_flag_available() should return 1 for swap flag
    (#513729)
2009-10-06 18:53:21 +00:00
Joel Andres Granados Moreno
d8621345e2 Patches for the 'commit to os' function in linux. 2009-08-31 12:34:18 +00:00
Karsten Hopp
eb24deea49 - volkey is only 4 chars, don't overflow destination buffer with 84 chars 2009-08-28 10:36:11 +00:00
Joel Andres Granados Moreno
369118c8bc Add libuuid for s390 builds 2009-08-21 14:01:47 +00:00
Ville Skyttä
3f292e2efe - Use xz compressed upstream tarball.
https://www.redhat.com/archives/fedora-devel-list/2009-August/msg00563.html
2009-08-12 15:47:38 +00:00
Joel Andres Granados Moreno
5044b459fb Make install with exclude docs work without an error message. 2009-08-12 11:08:28 +00:00
Joel Andres Granados Moreno
da4e3e3299 New version. 2009-07-29 08:04:50 +00:00
Joel Andres Granados Moreno
10a6043a52 Add swap handling to the msdos labels. 2009-07-27 17:03:49 +00:00
Jesse Keating
6ced1a092a - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 23:16:29 +00:00
Joel Andres Granados Moreno
27029596b0 New upstream version 2009-07-23 21:59:41 +00:00
Joel Andres Granados Moreno
7c7f37e759 Better handle duplicate errors. 2009-07-22 10:18:08 +00:00
Joel Andres Granados Moreno
56cb226625 Correct little error in the change log version. 2009-07-21 14:57:57 +00:00
Joel Andres Granados Moreno
2e25e6e435 New snapshot version. 2009-07-21 14:55:51 +00:00
Lubomir Rintel
1027857575 - Fix a typo in the errno patch 2009-07-18 10:33:15 +00:00
Joel Andres Granados Moreno
6425de141b Correctly number the snapshot. 2009-07-13 18:18:16 +00:00
Joel Andres Granados Moreno
48d71e9401 Fix Changlog date. 2009-07-10 13:18:12 +00:00
Joel Andres Granados Moreno
15289757e3 New version. 2009-07-10 13:16:25 +00:00
Joel Andres Granados Moreno
6d2787e7d9 Begin to identify virtio devices. Actually change the partition type in
msdos lables (dcantrell).
2009-03-26 15:02:14 +00:00
Joel Andres Granados Moreno
744273ef7e Correct the behavior of upated_mode functions when the ASSERT fails (thx to
hansg).
2009-03-23 15:47:40 +00:00
Joel Andres Granados Moreno
0edbc19d8a Fix build for new gcc-4.4 2009-02-26 20:42:44 +00:00
Jesse Keating
fbee96fb54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 09:54:46 +00:00
Joel Andres Granados Moreno
4c46e17f88 - Avoid the calling of stat for strings that don't begin with the "/" char
(#353191).
2009-01-22 13:00:07 +00:00
Tom Callaway
cef96d5996 fix typo in last patch 2008-12-13 17:46:59 +00:00
Tom Callaway
acd933ac89 sparc RAID support 2008-12-13 17:09:55 +00:00
Joel Andres Granados Moreno
2e1dd1c100 Fix the build for s390(x). 2008-11-06 13:31:20 +00:00
Peter Jones
bd04deb025 - Fix some of the atvrecv code (and the msftres code) so that the flags
actually stick.
2008-06-05 21:32:09 +00:00
Peter Jones
513b5bc4e5 - Added "atvrecv" flag patch from atv-bootloader project. 2008-06-05 19:45:57 +00:00
Joel Andres Granados Moreno
f6edd98c3a Add a patch that better detects the dos partitions. 2008-05-29 17:26:02 +00:00
David Cantrell
2667a15ebc - Allow RAID or LVM partition types on BSD disklabels. (jay.estabrook AT
hp.com, #427114)
2008-04-10 20:37:13 +00:00
Peter Jones
4e18b61870 - Don't interactively ask to fix an AlternateGPT's location when not at the
end of the disk; this is so that disk images written to a usb-key can
    work reasonably.
2008-04-10 19:24:21 +00:00
David Cantrell
bd258fc7b1 - Fixes so parted compiles with gcc-4.3 (#431397) 2008-02-05 22:42:44 +00:00
David Cantrell
7503ed3e54 - Move libparted libraries to /lib (#428420) 2008-01-14 08:11:56 +00:00
David Cantrell
814527fc84 - Move libparted libraries to /lib (#428420) 2008-01-14 08:10:01 +00:00
David Cantrell
eb51c16347 - Upgraded to GNU parted-1.8.8
- License for GNU parted is now GPLv3+
2008-01-03 02:26:18 +00:00
David Cantrell
69fc523eb4 - Modify parted man page to indicate which flags are valid for which disk
labels (#242711)
2007-12-14 03:34:30 +00:00
David Cantrell
f6ed55a348 - Add KNOWN ISSUES section to parted(8) man page explaining that we cannot
currently do ext3 resizing inside parted (#367101)
- Update the xvd patch to include 'xvd' in the string table that parted
    uses when printing device types (#366971)
- Do not install the linux.h or gnu.h headers
2007-11-05 19:17:23 +00:00
David Cantrell
75660056b6 - Do not install fdasd.h and vtoc.h header files 2007-10-30 19:15:47 +00:00
David Cantrell
8a79855788 - Do not install the testsuite tools 2007-10-04 20:13:31 +00:00
David Cantrell
2b24ccacbd - Always define PED_DEVICE_DM regardless of compile time options 2007-10-04 19:52:24 +00:00
David Cantrell
bfb0b7fdca - Rebuild 2007-08-21 18:24:24 +00:00
David Cantrell
b32f75c9b7 - Update License tag to GPLv2+ 2007-08-08 22:29:49 +00:00
David Cantrell
6c3525dc27 - Detect Xen virtual block devices and set model name appropriately 2007-08-07 18:11:31 +00:00
David Cantrell
ca7e6d5dfd - Spec file cleanups for merge review (#226230) 2007-04-19 18:52:23 +00:00
David Cantrell
19cd527b15 - Fix primary partition cylinder alignment error for DOS disk labels
(#229745)
- Do not build and package up libparted.a, only the shared library
2007-04-13 15:23:49 +00:00
David Cantrell
cb95a1496c - Fix off-by-one bug in parted(8) when displaying disk label (#235901) 2007-04-11 16:33:52 +00:00
David Cantrell
e13022c01a - Do not translate partition name from disk label (#224182) 2007-03-21 15:02:34 +00:00
David Cantrell
ce690b2370 - Upgrade to GNU parted-1.8.6, summary of major change(s): a) Revert
linux-swap(new) and linux-swap(old) fs types, it's linux-swap for all
    swap types (#233085)
2007-03-20 18:18:19 +00:00
David Cantrell
9fce755a0c - Upgrade to GNU parted-1.8.6, summary of major change(s): a) Revert
linux-swap(new) and linux-swap(old) fs types, it's linux-swap for all
    swap types (#233085)
2007-03-20 17:51:52 +00:00
David Cantrell
4152daa2a2 Added %find_lang to the spec file. 2007-03-20 05:37:27 +00:00
David Cantrell
92307bcd99 - Upgrade to GNU parted-1.8.5 (added missing po files) 2007-03-20 05:13:09 +00:00
David Cantrell
30db1e1a55 - Upgrade to GNU parted-1.8.4, summary of major changes: a) Update to use
newest GNU developer tools b) Use gnulib, the GNU portability library
    c) HFS+ resize support d) Windows Vista fixes e) AIX disk label fixes
    f) >512 byte logical sector read support on Linux
- Spec file cleanups per Fedora packaging guidelines
2007-03-19 18:39:07 +00:00
David Cantrell
6e262847c9 - Remove period from end of summary line (package review)
- Use preferred BuildRoot (package review)
- BR device-mapper-devel
2007-02-08 16:27:14 +00:00
David Cantrell
c3878a10e1 - Remove period from end of summary line (package review)
- Use preferred BuildRoot (package review)
2007-02-08 16:00:22 +00:00
David Cantrell
8b36e140c3 - Patched parted.8 man page to show partition names apply to GPT disklabels
as well as Mac and PC98 disklabels (#221600)
2007-01-30 20:11:29 +00:00
David Cantrell
19f67e3aac - Remove BR for libtermcap-devel
- Specifically preserve starting alignment of 0x800 on Windows Vista (see
    http://support.microsoft.com/kb/923332 for details)
- Fix incorrect sector parameter used to initialize a new PedAlignment
2007-01-22 21:13:16 +00:00
David Cantrell
f78d6d9e90 - Preserve starting sector for primary NTFS 3.1 partitions (Windows Vista)
when modifying the DOS disk label. NTFS 3.1 partitions do not start on
    the 2nd head of the 1st cylinder at the beginning of the drive.
2007-01-19 16:47:02 +00:00
David Cantrell
4191da58cf - Upgrade to GNU parted-1.8.2 2007-01-12 20:07:49 +00:00
David Cantrell
6a881dc0f8 - Fix a segfault when initializing new volumes (pjones) 2006-12-15 20:59:23 +00:00
David Cantrell
4d4b1c8c84 - Upgrade to GNU parted-1.8.1 2006-12-04 20:09:55 +00:00
David Cantrell
84fa5c8745 Upgrade to GNU parted-1.8.0. 2006-11-17 19:11:11 +00:00
David Cantrell
8742b1ad89 - Detect Apple_Boot partition types correctly (#204714) 2006-11-02 22:58:05 +00:00
David Cantrell
9956b14a8d Bump version. 2006-10-26 20:34:12 +00:00
David Cantrell
21e3502b88 Bump version. Patch ped_geometry_read() problem. 2006-10-04 20:32:16 +00:00
David Cantrell
5609c0f35e - Allow resizing of ext2/ext3 filesystems with extended attributes (#90894) 2006-09-13 17:52:43 +00:00
David Cantrell
d9e5c38ca9 - Fixed gpt patch (*asked_already -> asked_already, whoops) 2006-08-23 17:58:19 +00:00
David Cantrell
9192203167 - Improve error message returned by _parse_header() on GPT-labeled disks so
users actually have an idea of how to correct the problem
- Fix off-by-one error with LastUsableLBA and PartitionEntryLBA overlap to
    prevent possible data corruption when using non-parted GPT editing
    tools
2006-08-22 20:43:14 +00:00