Commit Graph

240 Commits

Author SHA1 Message Date
Brian C. Lane
bdb87d14b5 - libparted: Fix probing AIX disks on other arches
- partprobe: Open the device once for probing
2016-05-26 12:05:08 -07:00
Brian C. Lane
6ad4b6c092 - libparted: Remove fdasd geometry code from alloc_metadata (#1244833) (bcl)
- parted: Display details of partition alignment failure (#726856) (bcl)
- docs: Add list of filesystems for fs-type (#1311596) (bcl)
- Use disk geometry as basis for ext2 sector sizes. (Steven.Lang)
- parted: fix the rescue command (psusi)
2016-04-12 16:51:26 -07:00
Brian C. Lane
3c4e97cf6e - Use BLKSSZGET to get device sector size in _device_probe_geometry() 2016-03-29 15:10:13 -07:00
Brian C. Lane
4d35fa8c43 - lib-fs-resize: Prevent crash resizing FAT with very deep directories
- Add libparted/fs/.libs/ to LD_LIBRARY_PATH during make check
2016-03-07 11:55:00 -08:00
Brian C. Lane
e0ee88ed50 - Cleanup library path usage in specfile
pkgconfig wasn't finding libparted.pc because it was under /usr/lib64/
- Explicitly reference the library files instead of use wildcards.
- Move libparted-fs-resize.so to the -devel package where it belongs.
- Add a pkgconfig file for the filesystem resize library
- tests: Add udevadm settle to wait_for_ loop
- tests: Add wait to t9042
- tests: Fix t1700 failing on a host with a 4k xfs file
2016-03-02 13:09:35 -08:00
Brian C. Lane
ed6adbba63 - fdasd.c Safeguard against geometry misprobing.patch (#1305931) 2016-02-09 17:49:45 -08:00
Fedora Release Engineering
b6f7bbc110 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 11:57:39 +00:00
Brian C. Lane
7f3a5f1056 - parted: fix build error on s390 2015-10-29 16:36:00 -07:00
Brian C. Lane
b965023a70 - dasd: enhance device probing
- fdasd: geometry handling updated from upstream s390-tools
2015-10-27 17:02:48 -07:00
Brian C. Lane
7f6b65822f - tests: Fix patch 0012 test for extended partition length
- UI: Avoid memory leaks
- libparted: Fix memory leaks.patch
- libparted: Fix possible memory leaks.patch
- libparted: Stop converting . in-sys-path-to /
- libparted: Use read-only when probing devices on linux
- tests: Use wait_for_dev_to_ functions
2015-08-07 15:53:08 -07:00
Brian C. Lane
0380a6b2b7 - parted: Fix crash with name command and no disklabel (#1226067) 2015-07-14 14:54:14 -07:00
Dennis Gilmore
5ca1687d00 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 00:46:52 +00:00
Brian C. Lane
441cefc372 - tests: Make sure the extended partition length is 2 (#1135493)
- libparted: BLKPG_RESIZE_PARTITION uses bytes not sectors (#1135493)
2015-06-05 15:46:45 -07:00
Brian C. Lane
123da5f5e2 - Add python2 as a BuildRequires, used in some of the tests 2015-04-28 15:47:30 -07:00
Brian C. Lane
42e67f88fc - Update manpage NAME so whatis will work (bcl)
- libparted: device mapper uses 512b sectors (bcl)
- tests: Add a test for device-mapper partition sizes (bcl)
- parted: don't crash in disk_set when disk label not found (psusi)
2015-04-28 14:53:11 -07:00
Brian C. Lane
00c01769a8 - tests: Change minimum size to 256MiB for t1700-probe-fs 2014-11-07 11:22:44 -08:00
Brian C. Lane
0417c3cdb2 - Update to current master commit ac74b83 to fix fat16 resize (#1159083)
- tests: t3000-resize-fs.sh: Add requirement on mkfs.vfat (mike.fleetwood)
- tests: t3000-resize-fs.sh: Add FAT16 resizing test (mike.fleetwood)
- lib-fs-resize: Prevent crash resizing FAT16 file systems (mike.fleetwood)
- libparted: also link to UUID_LIBS (heirecka)
2014-10-31 13:38:24 -07:00
Peter Robinson
186d87b0a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 14:54:54 +00:00
Brian C. Lane
2edf16c913 - Use a better patch to find the UTF8 locale for t0251 2014-08-13 13:59:06 -07:00
Brian C. Lane
06fca52438 - Rebase on upstream stable release v3.2
- Drop upstream patches.
- Patch t0251 to use en_US.UTF-8 if possible. Fedora doesn't have C.UTF-8
2014-07-30 14:19:13 -07:00
Tom Callaway
419aff7905 fix license handling 2014-07-30 11:00:02 -04:00
Brian C. Lane
3dcf9083a3 - Rebase on upstream Alpha source release
- drop included patches (all but one)
- add Phillip Susi's GPG key
- make sure gcc warnings as errors remains disabled since we use git for patches
2014-07-28 12:50:21 -07:00
Brian C. Lane
13386670d0 - Rebase on parted master commit 081ed98
- libparted: Add support for partition resize
- parted: add resizepart command
2014-07-14 14:44:27 -07:00
Brian C. Lane
73aa139585 - Rebase on parted master commit 1da239e2ebd2
- libparted: Fix bug with dupe and empty name
2014-06-13 09:52:56 -07:00
Dennis Gilmore
2b6c439fa4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 18:45:40 -05:00
Peter Robinson
47e47bd8ef Move dev docs to devel, Drop duplicated/outdated docs 2014-06-01 00:10:54 +01:00
Brian C. Lane
64daa79b38 - Use mkfs.xfs to create files (#1101112) 2014-05-27 08:47:07 -07:00
Brian C. Lane
5dcb73843d - Add some missing patches from master and the loop label fixes
- tests: test loop labels (psusi)
- libparted: don't trash filesystem when writing loop label (psusi)
- libparted: give correct partition device name on loop labels (psusi)
- partprobe: do not skip loop labels (psusi)
- libparted: don't create partition on loop label (psusi)
- libparted: fix loop labels to not vanish (psusi)
- libparted: remove all old partitions, even if new label allows less (psusi)
- libparted: remove old partitions *first* before adding new ones (psusi)
- libparted: don't detect fat and ntfs boot sectors as dos MBR (psusi)
- Fix filesystem detection on non 512 byte sectors (psusi)
- tests: fix t2310-dos-extended-2-sector-min-offset.sh (psusi)
- libparted: remove last_usable_if_grown (psusi)
2014-05-22 15:03:30 -07:00
Brian C. Lane
3e3c91556c - Fix partition naming patch for big endian systems. 2014-05-16 16:20:42 -07:00
Brian C. Lane
f0247c09aa - Fix a problem with GPT Partition names using. They are UCS-2LE not UTF-16 2014-05-16 13:15:33 -07:00
Brian C. Lane
30cb53c629 - Fix t1700 probe patch -- remove loop before making new fs 2014-04-18 08:41:56 -07:00
Brian C. Lane
42ecfc7b6b - Use force for xfs in t1700 and a larger file
- Make t4100 xfs filesystem larger and sparse
- Fix part dupe with empty name
- check name when duplicating
- Add ntfs vfat hfsplus to t1700 probe test
2014-04-17 16:46:07 -07:00
Brian C. Lane
47b8266825 - Use little endian packingl in gpt tests
- Fix integer overflows with DVH disk label
2014-04-09 17:17:15 -07:00
Brian C. Lane
0b7af917e2 - Rebase on new upstream master commit cc382c3
- Drop patches incorporated into upstream
- Still adds the various DASD patches
2014-04-08 11:46:37 -07:00
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