Commit Graph

206 Commits

Author SHA1 Message Date
Brian C. Lane
191b34d33b - Drop hfs_esp patch. Idea didn't work. 2014-02-27 13:23:51 -08:00
Brian C. Lane
7d372625f4 - tests: Restrict gpt header munge to little-endian systems
- Add perl Digest::CRC as a build requirement so more tests will run
2013-09-11 11:39:51 -07:00
Brian C. Lane
7e490f036c - libparted: Flush parent device on open (#962611) 2013-09-04 14:00:30 -07:00
Brian C. Lane
a248769183 - Rebasing Fedora patches with upstream master since v3.1 release
- Summary of important changes from upstream:
  - add support for a new Linux-specific GPT partition type code
  - partprobe: remove partitions when there is no partition table
  - libparted: refactor device-mapper partition sync code
  - libparted: remove extraneous blkpg add partition ped exception
  - libparted: don't probe every dm device in probe_all
- New Fedora changes:
  - libparted: Add Intel Rapid Start Technology partition flag.
  - libparted: Add UEFI System Partition flag.
  - libparted: Add hfs_esp partition flag to GPT.
  - libparted: Recognize btrfs filesystem
  - tests: Add btrfs and xfs to the fs probe test
2013-08-28 13:55:15 -07:00
Dennis Gilmore
1f3d038aae - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 11:35:57 -05:00
Brian C. Lane
cdd78567ae - libparted: mklabel to support EDEV DASD (#953146)
- tests: rewrite t6001-psep.sh to use /dev/mapper
2013-04-17 16:11:15 -07:00
Dennis Gilmore
15ebd4fc37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 03:51:32 -06:00
Brian C. Lane
ff8e232bc4 - libparted: mklabel to support EAV DASD (#707032)
- libparted: Avoid dasd as default disk type while probe (#707032)
2012-12-12 16:25:48 -08:00
Brian C. Lane
7c73c61a4c - don't canonicalize /dev/md/ paths (#872361) 2012-11-02 10:16:31 -07:00
Brian C. Lane
68f2aab138 - change partition UUID to use partX-UUID (#858704)
- fixup losetup usage in tests
- add support for implicit FBA DASD partitions (#707027)
- add support for EAV DASD partitions (#707032)
2012-10-16 16:53:14 -07:00
Brian C. Lane
1ca859a3e8 - reallocate buf after _disk_analyse_block_size (#835601) 2012-09-04 16:59:04 -07:00
Brian C. Lane
5c7b01233e - use dm_udev_wait to synchronize with udev
- use largest_partnum in dm_reread_part_table (#803108)
- preserve the uuid on dm partitions (#832145)
2012-08-07 12:39:09 -07:00
Dennis Gilmore
0a9f435399 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 03:39:57 -05:00
Brian C. Lane
f380659c9f - Fix crash on ppc64 with GPT (#829960) (rwmj) 2012-06-08 14:56:55 -07:00
Brian C. Lane
4ec2a17ec3 - Added Provides: bundled(gnulib) (#821782) 2012-05-15 10:20:59 -07:00
Brian C. Lane
6c34102208 - libparted: check PMBR before GPT partition table (#805272)
- tests: add a test for the new behavior
2012-03-21 11:40:18 -07:00
Brian C. Lane
67735861c5 - Rebase to upstream parted v3.1
- removed merged patches
- add new libparted-fs-resize library
2012-03-13 15:58:23 -07:00
Brian C. Lane
c4a50494de - Update patch for copying flags so that it is generic
- Copy pmbr_boot flag in gpt_duplicate
2012-02-03 14:31:21 -08:00
Brian C. Lane
c45765537f - gpt: add commands to manipulate pMBR boot flag (#754850)
- parted: when printing, also print the new disk flags
- tests: update tests for new disk flags output
- tests: add test for GPT PMBR pmbr_boot flag
- doc: update parted documentation
2012-02-02 13:13:05 -08:00
Dennis Gilmore
e28225b4fb - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 06:00:56 -06:00
Brian C. Lane
68bb9e0f50 - Fix ped_disk_duplicate on GPT so that it copies the partition flags (#747947)
- Add new test to check ped_disk_duplicate on msdos, gpt, bsd disk labels
- Add e2fsprogs and dosfstools so that skipped tests will be run
2011-10-31 16:15:41 -07:00
Brian C. Lane
8e3b457f0f Fix handling of zero-length gpt partitions (#728949)
Fix bug in nilfs2 probe with short partitions (#728949)
Fix bug in hfs probe code (#714758)
Make pc98 detection depend on specific signatures (#646053)
2011-10-07 16:28:22 -07:00
Richard W.M. Jones
61bbdc442a (Re-)apply patch to fix Linux 3.0 problem. 2011-06-29 14:39:46 +01:00
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