- Rebase on parted master commit 1da239e2ebd2

- libparted: Fix bug with dupe and empty name
This commit is contained in:
Brian C. Lane 2014-06-13 09:52:56 -07:00
parent 2b6c439fa4
commit 73aa139585
127 changed files with 5243 additions and 397 deletions

View File

@ -1,7 +1,7 @@
From f6835518a7a8722b247079799a9145c3101f9a8a Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Fri, 2 Mar 2012 17:59:32 +0100
Subject: [PATCH 01/89] maint: post-release administrivia
Subject: [PATCH 001/131] maint: post-release administrivia
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
@ -46,5 +46,5 @@ index ba8ba77..c6a00c8 100644
include $(srcdir)/dist-check.mk
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From b55724f291fa405f652fbbc5cae6e36cc8a2d200 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Tue, 20 Mar 2012 17:25:22 -0700
Subject: [PATCH 02/89] libparted: check PMBR before GPT partition table
Subject: [PATCH 002/131] libparted: check PMBR before GPT partition table
The UEFI spec requires that a valid GPT disk label have a PMBR
partition. This moves the PMBR check to before the GPT check,
@ -96,5 +96,5 @@ index 84bdc12..91ad71a 100644
static PedDisk *
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 5021bbdc6ee892890c2c6fede806b9ad6a6a9378 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Tue, 20 Mar 2012 17:25:23 -0700
Subject: [PATCH 03/89] tests: add t0301-overwrite-gpt-pmbr.sh
Subject: [PATCH 003/131] tests: add t0301-overwrite-gpt-pmbr.sh
Make sure parted checks the PMBR before the GPT partition table.
@ -94,5 +94,5 @@ index 0000000..e7edb66
+
+Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 7fd33a6d24da6a82b830552999b2332140f556d4 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Mon, 26 Mar 2012 21:52:08 +0200
Subject: [PATCH 04/89] tests: remove bogus envvar setting from
Subject: [PATCH 004/131] tests: remove bogus envvar setting from
t0300-dos-on-gpt.sh
* tests/t0300-dos-on-gpt.sh: Remove envvar setting that effectively
@ -33,5 +33,5 @@ index 41bc391..fbe8d7c 100755
# create a GPT partition table
parted -s $dev mklabel gpt > out 2>&1 || fail=1
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 4ac1c02b590668c93afdb48900e0858de58cda3a Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Fri, 8 Jun 2012 13:19:25 +0100
Subject: [PATCH 05/89] gpt: fix endianness bug in
Subject: [PATCH 005/131] gpt: fix endianness bug in
gpt_get_max_supported_partition_count
* libparted/labels/gpt.c (gpt_get_max_supported_partition_count):
@ -47,5 +47,5 @@ index 91ad71a..6032e3f 100644
pth_free (pth);
return true;
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From e38df2d81f0a4647711ffeb92a32c99e7ce9a92d Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Sat, 9 Jun 2012 17:26:21 +0200
Subject: [PATCH 06/89] tests: add a test to exercise just-fixed code
Subject: [PATCH 006/131] tests: add a test to exercise just-fixed code
* tests/print-max.c: Extend to provide coverage of
ped_disk_get_max_supported_partition_count, too.
@ -106,5 +106,5 @@ index 0570585..ca10d17 100755
done
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 89377f99947391c081df6dad27edf6ac3daec5c0 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Tue, 28 Aug 2012 19:47:54 +0200
Subject: [PATCH 07/89] maint: avoid new syntax-check failure re @xref
Subject: [PATCH 007/131] maint: avoid new syntax-check failure re @xref
* doc/parted.texi: Adjust @xref usage: it must be used only
at start of sentence.
@ -47,5 +47,5 @@ index 6561d0e..1601151 100644
If you don't give a parameter to a command, Parted will prompt you for it.
For example:
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 00a5736ff2220229d75d4259c582ae0a62539915 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Tue, 28 Aug 2012 19:49:25 +0200
Subject: [PATCH 08/89] maint: don't prohibit strncpy just yet
Subject: [PATCH 008/131] maint: don't prohibit strncpy just yet
* cfg.mk (local-checks-to-skip): Add sc_prohibit_strncpy,
so that we do not yet enable the strncpy prohibition.
@ -24,5 +24,5 @@ index 45d2ac2..3d3014c 100644
sc_require_test_exit_idiom \
sc_space_tab \
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 92154e8dfb35c70f6792c4efed9cd97b4c84cbcb Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Tue, 28 Aug 2012 19:50:48 +0200
Subject: [PATCH 09/89] build: update gnulib, bootstrap and init.sh
Subject: [PATCH 009/131] build: update gnulib, bootstrap and init.sh
---
bootstrap | 267 ++++++++++++++++++++++++++++++++++++++--------------------
@ -572,5 +572,5 @@ index ae86714..5f6e638 100644
# As autoconf-generated configure scripts do, ensure that IFS
# is defined initially, so that saving and restoring $IFS works.
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From a185e958b5614ea7e606e85d3de879c5ffc127c0 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Thu, 30 Aug 2012 18:53:13 +0200
Subject: [PATCH 10/89] build: prefer $(AM_CPPFLAGS) over $(INCLUDES)
Subject: [PATCH 010/131] build: prefer $(AM_CPPFLAGS) over $(INCLUDES)
The latter is obsolete, and might be removed in future Automake versions.
Moreover, it's already been removed in Automake-NG, so its use would make
@ -82,5 +82,5 @@ index dbe2c9f..c0304a0 100644
-INCLUDES = $(partedincludedir) $(INTLINCS)
+AM_CPPFLAGS = $(partedincludedir) $(INTLINCS)
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,8 @@
From 605c53ad0f209b9f62a15c3f89a9930860153489 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Thu, 30 Aug 2012 18:53:14 +0200
Subject: [PATCH 11/89] build: don't list files with unknown suffix in _SOURCES
Subject: [PATCH 011/131] build: don't list files with unknown suffix in
_SOURCES
While this works with mainline Automake (which blindly treats source
files with an unknown extension as if they were header files), it is
@ -43,5 +44,5 @@ index ec8abeb..f4e4d27 100644
mv $@-tmp $@
+EXTRA_DIST += pt-limit.gperf
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 904a8d31d2906e8e653d670e508c4c6bd4b264c1 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Thu, 30 Aug 2012 18:53:15 +0200
Subject: [PATCH 12/89] build: prefer pattern rules over suffix rules
Subject: [PATCH 012/131] build: prefer pattern rules over suffix rules
That is acceptable, because the GNU parted build system already
requires GNU make anyway: the $(subst ...) built-in is used in the
@ -32,5 +32,5 @@ index 19236f0..6f808c6 100644
$(AM_V_at)perl -p \
-e '$(subst_const_attr);' \
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 803b2f58760ed82e5eb182df75ba18c00c9f43bf Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Thu, 30 Aug 2012 18:53:16 +0200
Subject: [PATCH 13/89] build: enable subdir-objects Automake option globally
Subject: [PATCH 013/131] build: enable subdir-objects Automake option globally
That option is enabled unconditionally in Automake-NG, and enabling
it also for mainline Automake will help to ensure no unexpected
@ -49,5 +49,5 @@ index 7fe364a..064f11a 100644
AM_CFLAGS = $(WARN_CFLAGS)
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 2bd66d7d3e5a1924c65c051d4b639c5ab48bbb99 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Thu, 30 Aug 2012 18:53:17 +0200
Subject: [PATCH 14/89] tests: prefer AM_TESTS_ENVIRONMENT over
Subject: [PATCH 014/131] tests: prefer AM_TESTS_ENVIRONMENT over
TESTS_ENVIRONMENT
The latter should be reserved for user overrides.
@ -28,5 +28,5 @@ index 1264812..33e8f8e 100644
TMPDIR=$$tmp__; export TMPDIR; \
export \
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From af4d0f5706740848c3fef67a7ea0b78cf31ddb90 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Thu, 30 Aug 2012 18:53:18 +0200
Subject: [PATCH 15/89] tests: remove unused AM_TESTS_ENVIRONMENT entries
Subject: [PATCH 015/131] tests: remove unused AM_TESTS_ENVIRONMENT entries
Probably a copy&paste errors, likely from the TESTS_ENVIRONMENT
definition in the 'tests/Makefile.am' in GNU coreutils.
@ -37,5 +37,5 @@ index 33e8f8e..c97400b 100644
VERSION=$(VERSION) \
; 9>&2
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From b2338d71549462c1dfbb434111b5c46701f54261 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Thu, 30 Aug 2012 18:53:19 +0200
Subject: [PATCH 16/89] build: require Automake >= 1.11.6
Subject: [PATCH 016/131] build: require Automake >= 1.11.6
Now that we use AM_TESTS_ENVIRONMENT, we should require at least
Automake >= 1.11.2; but since all the Automake version until 1.11.5
@ -47,5 +47,5 @@ index 49ef75c..832fc20 100644
AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From c7c9978f0bbf05517437ccc76ea8eff5d811aaef Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Thu, 30 Aug 2012 18:53:20 +0200
Subject: [PATCH 17/89] maint: make Autoconf version requirement consistent
Subject: [PATCH 017/131] maint: make Autoconf version requirement consistent
* bootstrap.conf ($buildreq): Require Autoconf >= 2.63, not >= 2.61,
for consistency with what is done in AC_INIT in configure.ac
@ -25,5 +25,5 @@ index 39a5506..a5d5910 100644
autopoint -
bc -
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 0406b2ce14fb86ede506c51d6b603b1f4a1ff42d Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Thu, 30 Aug 2012 18:53:21 +0200
Subject: [PATCH 18/89] maint: tighten per version requirement
Subject: [PATCH 018/131] maint: tighten per version requirement
* bootstrap.conf ($buildreq): Require Perl >= 5.6 (not merely >= 5.5),
because that's the minimal version required by modern Automake and
@ -26,5 +26,5 @@ index a5d5910..7f4ee53 100644
tar -
"
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 464c0f9ae4af8346cd494c6434f4addabdd76e9d Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Tue, 11 Sep 2012 17:22:52 +0200
Subject: [PATCH 19/89] maint: remove unnecessary wcslen use
Subject: [PATCH 019/131] maint: remove unnecessary wcslen use
* parted/strlist.c (gettext_to_wchar): Tighten up test for
mbsrtowcs failure and remove unnecessary wcslen use.
@ -27,5 +27,5 @@ index d34fb56..1f90c0e 100644
error:
--
1.8.5.3
1.9.3

View File

@ -1,8 +1,8 @@
From 1d67e37ef257d3d3847126f3b899b8b0e11aa186 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Wed, 12 Sep 2012 10:02:46 +0200
Subject: [PATCH 20/89] tests: clarify a comment: _reading_ gpt tables on tiny
devices
Subject: [PATCH 020/131] tests: clarify a comment: _reading_ gpt tables on
tiny devices
* tests/t0203-gpt-tiny-device-abort.sh: Clarify.
---
@ -23,5 +23,5 @@ index 7283c55..bf281ff 100644
# Copyright (C) 2009-2012 Free Software Foundation, Inc.
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 46d9108009ccb9ac567cc285a15efb05864932d5 Mon Sep 17 00:00:00 2001
From: Davidlohr Bueso <dave@gnu.org>
Date: Tue, 11 Sep 2012 19:22:32 +0200
Subject: [PATCH 21/89] gpt: require first_usable_LBA <= last_usable_LBA
Subject: [PATCH 021/131] gpt: require first_usable_LBA <= last_usable_LBA
When verifying GPT header integrity, ensure that the
first usable LBA is no larger than the last usable LBA.
@ -27,5 +27,5 @@ index 6032e3f..83e518f 100644
gpt->HeaderCRC32 = 0;
if (pth_crc32 (dev, gpt, &crc) != 0)
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 81faa9b3b957781871ec3ef0df6e357388f857a1 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Wed, 12 Sep 2012 20:34:48 +0200
Subject: [PATCH 22/89] tests: update t7000-scripting.sh to avoid new FP
Subject: [PATCH 022/131] tests: update t7000-scripting.sh to avoid new FP
* tests/t7000-scripting.sh: Use -34s as the endpoint, not -1s,
to avoid a spurious difference. Also, remove quoting artifacts.
@ -34,5 +34,5 @@ index e64814b..859acda 100755
# We have to format the output before comparing.
# normalize the actual output
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 48f236f9cf1bbcd4c9cc29ebaecee7ed189580e3 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Wed, 12 Sep 2012 10:01:53 +0200
Subject: [PATCH 23/89] gpt: permit "mklabel gpt" on a 67-sector device
Subject: [PATCH 023/131] gpt: permit "mklabel gpt" on a 67-sector device
* libparted/labels/gpt.c (gpt_alloc): Correct checks in order to
allow creation of a GPT partition table on a 67-sector device.
@ -33,5 +33,5 @@ index 83e518f..564a889 100644
disk->disk_specific = gpt_disk_data = ped_malloc (sizeof (GPTDiskData));
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 7ca7f595e4cef589db852394687a6ca0c2925fa7 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Wed, 12 Sep 2012 10:48:33 +0200
Subject: [PATCH 24/89] gpt: when "mklabel gpt" fails, always provide a
Subject: [PATCH 024/131] gpt: when "mklabel gpt" fails, always provide a
diagnostic
* libparted/labels/gpt.c (gpt_alloc): When rejecting a device because
@ -34,5 +34,5 @@ index 564a889..63b30b9 100644
disk->disk_specific = gpt_disk_data = ped_malloc (sizeof (GPTDiskData));
if (!disk->disk_specific)
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 42c1964bdc2311ec142453cf43a8737da81b2f0d Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Wed, 12 Sep 2012 10:43:17 +0200
Subject: [PATCH 25/89] tests: show that small dev now evokes "mklabel gpt"
Subject: [PATCH 025/131] tests: show that small dev now evokes "mklabel gpt"
diagnostic
* tests/t0203-gpt-create-on-min-sized-device.sh: New test.
@ -78,5 +78,5 @@ index 0000000..113e191
+
+Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,8 +1,8 @@
From bcc6517853c09f979951ab483bd6560d45bf8e3f Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Thu, 20 Sep 2012 20:22:13 +0200
Subject: [PATCH 26/89] tests: avoid syntax-check failure for reversed compare
args
Subject: [PATCH 026/131] tests: avoid syntax-check failure for reversed
compare args
* tests/t0203-gpt-create-on-min-sized-device.sh: Reverse args,
so that any diff output (upon failed test) looks sensible.
@ -23,5 +23,5 @@ index 113e191..4cec64c 100644
Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 6c7932b90a9d078ffaf8ec9482b272c67d75a01d Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Tue, 4 Sep 2012 16:42:34 -0700
Subject: [PATCH 27/89] mac: don't let larger partition-table-specified block
Subject: [PATCH 027/131] mac: don't let larger partition-table-specified block
size evoke UB
For example, in reading a MAC partition table on a 512-byte sector-size
@ -74,5 +74,5 @@ index 1f59a1a..2485187 100644
void *raw_part = buf;
if (!ped_device_read (disk->dev, raw_part,
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 6499402a18baf22f08084acb289431b731d3afda Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Thu, 20 Sep 2012 20:18:50 +0200
Subject: [PATCH 28/89] tests: mac: exercise the just-fixed bug
Subject: [PATCH 028/131] tests: mac: exercise the just-fixed bug
* tests/t0350-mac-PT-increases-sector-size.sh: New test.
* tests/Makefile.am (TESTS): Add it.
@ -79,5 +79,5 @@ index 0000000..2dbd8cd
+
+Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,8 +1,8 @@
From e6536360bd4496cee1f1bf2dfb0b11f6bdbbfd4b Mon Sep 17 00:00:00 2001
From: "Roderick W. Smith" <rodsmith@rodsbooks.com>
Date: Sun, 23 Sep 2012 21:29:10 +0200
Subject: [PATCH 29/89] add support for a new Linux-specific GPT partition type
code
Subject: [PATCH 029/131] add support for a new Linux-specific GPT partition
type code
* NEWS: Describe the new Linux-specific partition type code
and the new msftres flag that can be used to override this type
@ -329,5 +329,5 @@ index d522aec..bd14c84 100755
compare /dev/null err || fail=1
parted -s $dev name $i $type > err 2>&1 || fail=1
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From c987c73cbe773dfa3b14b911ffc243137195bbb3 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Sat, 29 Sep 2012 12:10:35 +0200
Subject: [PATCH 30/89] tests: clean up tests
Subject: [PATCH 030/131] tests: clean up tests
Use warn_ and $ME_ in place of warn and $ME; remove definitions of
the latter two. Remove unused code.
@ -337,5 +337,5 @@ index b3618a7..f0830f0 100644
Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From fb1faafaae67c328a34117573a71d1f02ef9f6fe Mon Sep 17 00:00:00 2001
From: Bob Beers <bob.beers.gmail.com>
Date: Thu, 4 Oct 2012 06:00:25 +0200
Subject: [PATCH 31/89] doc: libparted/disk.c: correct doxygen comment typo
Subject: [PATCH 031/131] doc: libparted/disk.c: correct doxygen comment typo
* libparted/disk.c: s/PedPartition/PedDisk/
Copyright-paperwork-exempt: yes
@ -23,5 +23,5 @@ index c4b1a01..d283674 100644
* \warning The partition's geometry may be changed, subject to \p constraint.
* You could set \p constraint to <tt>ped_constraint_exact(&part->geom)</tt>,
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 478e472bf9f1c76b66a35ea75b45110152e5207d Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Sat, 6 Oct 2012 11:11:32 +0200
Subject: [PATCH 32/89] tests: stop using private "dev" directory for losetup
Subject: [PATCH 032/131] tests: stop using private "dev" directory for losetup
Something about Fedora 17's losetup changed so that using a private
dev directory no longer worked. Now, simply use /dev/ directly.
@ -43,5 +43,5 @@ index 9cee155..cf1b8b8 100644
echo "$dev"
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 718ac7342412aa7f32aaf3e9f379beb84883406e Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Sat, 6 Oct 2012 15:09:56 +0200
Subject: [PATCH 33/89] maint: fix an error in the preceding commit log
Subject: [PATCH 033/131] maint: fix an error in the preceding commit log
Stefano Lattarini noticed an error in the log for
commit v3.1-32-g478e472. Arrange for that error
@ -55,5 +55,5 @@ index 0000000..e2a68ee
+# Fix the log message:
+s,stderr,/dev/null,
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 5fc054beb415344a0ce44c19e554937c9158d08e Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Tue, 9 Oct 2012 14:02:15 +0200
Subject: [PATCH 34/89] tests: improve test for partitionable loop devices
Subject: [PATCH 034/131] tests: improve test for partitionable loop devices
* tests/init.cfg (require_partitionable_loop_device_): Skip
when cat fails.
@ -26,5 +26,5 @@ index 24b10bc..dc8b2bc 100644
}
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 569e59d08fe2ec5e836536371e0a974a58e83166 Mon Sep 17 00:00:00 2001
From: Gilles Espinasse <g.esp@free.fr>
Date: Sun, 7 Oct 2012 15:40:23 +0200
Subject: [PATCH 35/89] tests: t8001: do not rely on "modprobe loop"
Subject: [PATCH 035/131] tests: t8001: do not rely on "modprobe loop"
Remove 'rmmod loop' and 'modprobe loop max_part=7' commands.
The latter command may fail after the first command has run,
@ -54,5 +54,5 @@ index deef18b..9afde4a 100755
# Expect this to succeed
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 319e7cd590ae16460cfecb70715bf41ceec81d1e Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Tue, 9 Oct 2012 15:40:33 +0200
Subject: [PATCH 36/89] build: do not rely on automake's AM_TESTS_ENVIRONMENT
Subject: [PATCH 036/131] build: do not rely on automake's AM_TESTS_ENVIRONMENT
* tests/Makefile.am (TESTS_ENVIRONMENT): Rename from
AM_TESTS_ENVIRONMENT, since it is not honored in automake-1.11.3
@ -26,5 +26,5 @@ index 80d5525..cdc1c4b 100644
TMPDIR=$$tmp__; export TMPDIR; \
export \
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 6a535214131b25b0f90dfff618ef6cf8083bb390 Mon Sep 17 00:00:00 2001
From: Petr Uzel <petr.uzel@suse.cz>
Date: Mon, 15 Oct 2012 10:31:50 +0200
Subject: [PATCH 37/89] build: .gitignore: ignore tests/fs-resize
Subject: [PATCH 037/131] build: .gitignore: ignore tests/fs-resize
---
.gitignore | 1 +
@ -20,5 +20,5 @@ index 5bb95d4..c2ccd4b 100644
tests/old-init.sh
tests/print-align
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From baa2ebd111d4f8df66254bc94ee79aeaae2a3f3e Mon Sep 17 00:00:00 2001
From: Petr Uzel <petr.uzel@suse.cz>
Date: Mon, 15 Oct 2012 10:31:54 +0200
Subject: [PATCH 38/89] partprobe: remove --no-update long option
Subject: [PATCH 038/131] partprobe: remove --no-update long option
It was deprecated and scheduled for removal in 2009.
* partprobe/partprobe.c (long_options): Remove "no-update" entry.
@ -24,5 +24,5 @@ index 8bccc4f..b8dca5e 100644
{"summary", no_argument, NULL, 's'},
{"help", no_argument, NULL, 'h'},
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From aec4b5228d1536452b1816731c41d9b37de2a25c Mon Sep 17 00:00:00 2001
From: Petr Uzel <petr.uzel@suse.cz>
Date: Mon, 15 Oct 2012 10:31:53 +0200
Subject: [PATCH 39/89] doc: update partprobe manpage
Subject: [PATCH 039/131] doc: update partprobe manpage
* doc/C/partprobe.8: Add long options, REPORTING BUGS section
and adjust DESCRIPTION section because it wasn't quite correct.
@ -44,5 +44,5 @@ index 6abf97d..48ae5dc 100644
.BR parted (8).
.SH AUTHOR
--
1.8.5.3
1.9.3

View File

@ -1,8 +1,8 @@
From 05917368a7867a17d6b2e0df16bf54239aa52107 Mon Sep 17 00:00:00 2001
From: Petr Uzel <petr.uzel@suse.cz>
Date: Mon, 15 Oct 2012 10:31:52 +0200
Subject: [PATCH 40/89] partprobe: remove partitions when there is no partition
table
Subject: [PATCH 040/131] partprobe: remove partitions when there is no
partition table
When partprobe detects no partition table on a device, it should
tell the kernel to drop partitions on that device, but it did not.
@ -63,5 +63,5 @@ index b8dca5e..0919d3f 100644
if (!ped_disk_commit_to_os (disk))
goto error_destroy_disk;
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From c897203a7f65a05e57c67e6cddee3f70110d0824 Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Wed, 17 Oct 2012 16:55:02 +0200
Subject: [PATCH 41/89] maint: use $(AM_V_GEN) to cut down on build noise
Subject: [PATCH 041/131] maint: use $(AM_V_GEN) to cut down on build noise
* doc/Makefile.am: Prefix each rule with $(AM_V_GEN).
* doc/po4a.mk (dist_man_MANS): Likewise.
@ -61,5 +61,5 @@ index b378121..aaf4024 100644
if [ -f $(srcdir)/$@.$$locale.po.addendum ]; then \
po4a-translate -f man -m $(srcdir)/../C/$@ -p $@.$$locale.po -l $@ -a $(srcdir)/$@.$$locale.po.addendum $(po4a_translate_options) ; \
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From d9f34625df17b30013e141516c2722b77b4b6eea Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Wed, 17 Oct 2012 23:07:55 +0200
Subject: [PATCH 42/89] maint: regenerate .po, .pot files
Subject: [PATCH 042/131] maint: regenerate .po, .pot files
---
doc/C/po/partprobe.8.pot | 59 ++++++++++++++++--------------
@ -333,5 +333,5 @@ index ffa47d7..4870d09 100644
+#~ msgid "B<-v>"
+#~ msgstr "B<-v>"
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 2ab9f04692e74c8b1daae68f1c22c5723f6c39ef Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 17 Oct 2012 21:42:12 +0200
Subject: [PATCH 43/89] tests: cleanup losetup usage
Subject: [PATCH 043/131] tests: cleanup losetup usage
The unsafe_losetup_ function was failing because losetup didn't
recognize that the 'private' /dev/loopX devices were the same as
@ -79,5 +79,5 @@ index 490c6d2..1859ac9 100644
dmsetup_cmd="0 `blockdev --getsz $d1` linear $d1 0"
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From d3a81337ff149294b7cf63c45a61ffa24fa542c5 Mon Sep 17 00:00:00 2001
From: Eric Blake <eblake@redhat.com>
Date: Tue, 23 Oct 2012 11:07:29 +0200
Subject: [PATCH 44/89] build: default to --enable-gcc-warnings in a git tree
Subject: [PATCH 044/131] build: default to --enable-gcc-warnings in a git tree
Anyone building from cloned sources can be assumed to have a new
enough environment, such that enabling gcc warnings by default will
@ -30,5 +30,5 @@ index 832fc20..417f325 100644
if test "$gl_gcc_warnings" = yes; then
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From f0c0d53f998964e187f59de32ac92a2c0e2d5da9 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sun, 14 Oct 2012 23:59:58 -0400
Subject: [PATCH 45/89] libparted: refactor device-mapper partition sync code
Subject: [PATCH 045/131] libparted: refactor device-mapper partition sync code
The device-mapper partition sync code was still using the remove all
partitions, then add new partitions method. Refactor to use the same
@ -634,5 +634,5 @@ index 0000000..9807b40
+
+Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From f87ff28d1aa8eff085e737ab22d031b0519e5510 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sun, 14 Oct 2012 23:59:59 -0400
Subject: [PATCH 46/89] libparted: remove extraneous blkpg add partition ped
Subject: [PATCH 046/131] libparted: remove extraneous blkpg add partition ped
exception
_blkpg_add_partition was throwing an exception if it failed to add the
@ -67,5 +67,5 @@ index 89453ae..17c777c 100644
# Create a DOS label with an extended partition starting at sector 64.
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 3cb820632a13a91e0c2e579aedbe8e86b4f0040e Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Fri, 19 Oct 2012 17:32:00 +0200
Subject: [PATCH 47/89] libparted: don't probe every dm device in probe_all
Subject: [PATCH 047/131] libparted: don't probe every dm device in probe_all
We were probing every dm device. Only probe dmraid whole disk
(non-partition) devices instead. This removes the clutter of
@ -221,5 +221,5 @@ index 0000000..3cfdc43
+
+Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 2224076fef1a54391cf090149ba9308ae90067eb Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Fri, 19 Oct 2012 18:09:19 +0200
Subject: [PATCH 48/89] tests: make t6003-dm-hide work reliably on F17
Subject: [PATCH 048/131] tests: make t6003-dm-hide work reliably on F17
* tests/t6003-dm-hide.sh: Adjust to work reliably on Fedora 17.
---
@ -67,5 +67,5 @@ index 3cfdc43..59baae9 100644
Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 21be64fc6ef60a1e9dc7bc352131be58cc59d61d Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Wed, 2 Jan 2013 12:52:14 +0100
Subject: [PATCH 49/89] doc: 1MiB-alignment is not enough for cheap flash
Subject: [PATCH 049/131] doc: 1MiB-alignment is not enough for cheap flash
drives
* doc/parted.texi: Add an example that aligns to 4GiB, and
@ -73,5 +73,5 @@ index b8db19d..008c383 100644
@end deffn
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 960eda93fc53ea18e8e98109a00661ac5e8a88f8 Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Sun, 6 Jan 2013 11:06:23 +0100
Subject: [PATCH 50/89] build: update gnulib submodule to latest
Subject: [PATCH 050/131] build: update gnulib submodule to latest
---
gnulib | 2 +-
@ -15,5 +15,5 @@ index e1abd50..164ebfe 160000
-Subproject commit e1abd50b01d6bd61bd0c996ca17378cd569c0aa1
+Subproject commit 164ebfe612d8460c15d7acf1927faef6943571b6
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From ab9aecfc64b5a7f6ad70ea93bf76c007614220fd Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Sun, 6 Jan 2013 11:08:39 +0100
Subject: [PATCH 51/89] maint: update all copyright year number ranges
Subject: [PATCH 051/131] maint: update all copyright year number ranges
Run "make update-copyright".
---
@ -2866,5 +2866,5 @@ index 04dc5c6..d73f45e 100755
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,8 @@
From 1c659d5cc6830c6f4f26660e9049582afbad3fd3 Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Sun, 6 Jan 2013 11:37:15 +0100
Subject: [PATCH 52/89] maint: avoid new warning/error with gcc-4.8.0 20130105
Subject: [PATCH 052/131] maint: avoid new warning/error with gcc-4.8.0
20130105
* configure.ac (WERROR_CFLAGS): Disable -Wsuggest-attribute=format.
It was suggesting to apply the gnu_printf attribute to vsnprintf.
@ -22,5 +23,5 @@ index fef0b53..b04eb3f 100644
gl_MANYWARN_ALL_GCC([ws])
gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 70aa35b2b4d2e723fe82ac3184e5921a52be73ab Mon Sep 17 00:00:00 2001
From: Jonathan Liu <net147@gmail.com>
Date: Fri, 4 Oct 2013 07:32:12 -0700
Subject: [PATCH 53/89] dos: improve MBR signature generation
Subject: [PATCH 053/131] dos: improve MBR signature generation
Using tv_usec in struct timeval from gettimeofday() doesn't provide
enough precision to fill an unsigned 32-bit integer and isn't really
@ -154,5 +154,5 @@ index c2ccea1..c039c5f 100644
This must match the NUL-terminated "linux-swap" as well
as "linux-swap(v0)" and "linux-swap(v1)". */
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 9b8f632e102c0d9e2187f0c8d8205862540cdcd1 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@fb.com>
Date: Wed, 9 Oct 2013 17:44:05 -0700
Subject: [PATCH 54/89] bootstrap: update to latest from gnulib
Subject: [PATCH 054/131] bootstrap: update to latest from gnulib
---
bootstrap | 159 ++++++++++++++++++++++++++++++++++----------------------------
@ -320,5 +320,5 @@ index 48181c9..e31d17d 100755
# Get some extra files from gnulib, overriding existing files.
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 8ae195863e7d6950cfcc7a067f52e46f295655a7 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sat, 5 Jan 2013 15:13:50 -0500
Subject: [PATCH 55/89] parted: fix EOF and ctrl-c handling
Subject: [PATCH 055/131] parted: fix EOF and ctrl-c handling
feof() seems to not detect EOF after readline() hits it, so parted went
into an infinite loop prompting for input on EOF. Change test to use the
@ -69,5 +69,5 @@ index 22790bb..786deed 100644
return 1;
}
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From a1fc166a0791557a54d91e034dfefd994b11622b Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sat, 5 Jan 2013 14:59:03 -0500
Subject: [PATCH 56/89] tests: t6003-dm-hide: don't hang on exception
Subject: [PATCH 056/131] tests: t6003-dm-hide: don't hang on exception
If the parted -l found any exceptions, it would print the prompt, which was
redirected to the log, then hang waiting for input, which never came. Use
@ -33,5 +33,5 @@ index fce1f31..8618adc 100644
Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 62a27ccbdaa29a825a593c9562a5cf55ff9e8db4 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sat, 29 Dec 2012 21:59:08 -0500
Subject: [PATCH 57/89] gpt: Revert small device commits
Subject: [PATCH 057/131] gpt: Revert small device commits
The following commit broke the position of the LastUsableLBA:
@ -71,5 +71,5 @@ index da291df..d95d9cd 100644
# Try to create a GPT partition table in too little space. This must fail.
parted -s $dev mklabel gpt > out 2>&1 && fail=1
--
1.8.5.3
1.9.3

View File

@ -1,8 +1,8 @@
From fab679e6ffad84f3454b73529ef0a444b1d2f7ec Mon Sep 17 00:00:00 2001
From f503870153eda7659b09e52e4adeda3bebf06471 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Thu, 12 Jan 2012 14:53:56 -0500
Subject: [PATCH] libparted: handle logical partitions starting immediately
after the EBR
Subject: [PATCH 058/131] libparted: handle logical partitions starting
immediately after the EBR
_blkpg_add_partition() set the length of the extended partition
to 2 sectors to allow LILO to be installed there, beacuse the
@ -19,11 +19,11 @@ table with BLKPG, the kernel rightly rejected it.
---
NEWS | 8 ++++++++
libparted/arch/linux.c | 17 +++++++++++++++--
tests/t2310-dos-extended-2-sector-min-offset.sh | 18 +++++-------------
3 files changed, 28 insertions(+), 15 deletions(-)
tests/t2310-dos-extended-2-sector-min-offset.sh | 16 ++++------------
3 files changed, 27 insertions(+), 14 deletions(-)
diff --git a/NEWS b/NEWS
index 04b905c..c884eac 100644
index a27200b..716e477 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,14 @@ GNU parted NEWS -*- outline -*-
@ -42,7 +42,7 @@ index 04b905c..c884eac 100644
in response to ctrl-c and would get stuck in an infinite loop
prompting for more input when it reached EOF on stdin.
diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
index 083591f..1f1d67f 100644
index 2bb8774..05794d9 100644
--- a/libparted/arch/linux.c
+++ b/libparted/arch/linux.c
@@ -2473,8 +2473,21 @@ _blkpg_add_partition (PedDisk* disk, const PedPartition *part)
@ -70,10 +70,10 @@ index 083591f..1f1d67f 100644
linux_part.length = part->geom.length * disk->dev->sector_size;
linux_part.pno = part->num;
diff --git a/tests/t2310-dos-extended-2-sector-min-offset.sh b/tests/t2310-dos-extended-2-sector-min-offset.sh
index 17c777c..f74cba5 100644
index fe356dd..f74cba5 100644
--- a/tests/t2310-dos-extended-2-sector-min-offset.sh
+++ b/tests/t2310-dos-extended-2-sector-min-offset.sh
@@ -1,10 +1,8 @@
@@ -1,8 +1,6 @@
#!/bin/sh
-# Ensure that parted leaves at least 2 sectors between the beginning
+# Ensure that parted allows a single sector between the beginning
@ -81,11 +81,8 @@ index 17c777c..f74cba5 100644
-# Before parted-2.3, it could be made to leave just one, and that
-# would cause trouble with the Linux kernel.
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2013 Free Software Foundation, Inc.
# Copyright (C) 2010-2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -35,7 +33,7 @@ cat <<EOF > exp || framework_failure
BYT;
$scsi_dev:2048s:scsi:512:512:msdos:Linux scsi_debug:;
@ -114,5 +111,5 @@ index 17c777c..f74cba5 100644
parted -m -s $scsi_dev u s print > out 2>&1
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 9e9588c71e358244bd41f0ca15c10676784ed41d Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Tue, 1 Jan 2013 12:53:35 -0500
Subject: [PATCH 59/89] libparted: fix gpt end of disk handling
Subject: [PATCH 059/131] libparted: fix gpt end of disk handling
There are two checks for problems with the end of disk. The first checks
to make sure that the backup gpt is actually at the end of the disk as it
@ -454,5 +454,5 @@ index 0000000..9750ed7
+
+Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From fa815ad05db248d78ef214ea79a78c22772a9ffe Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sat, 5 Jan 2013 20:53:29 -0500
Subject: [PATCH 60/89] libparted: allow some common errors to be ignored
Subject: [PATCH 060/131] libparted: allow some common errors to be ignored
Partitions that overlap or extend beyond the end of the disk are common
errors that usually result in people having to use other tools to correct
@ -383,5 +383,5 @@ index 0000000..2a53407
+
+Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From fb99ba5ebd0dc34204fc9f1014131d5d494805bc Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sat, 5 Jan 2013 22:59:35 -0500
Subject: [PATCH 61/89] Revert "linux-commit: do not unnecessarily open
Subject: [PATCH 061/131] Revert "linux-commit: do not unnecessarily open
partition device nodes"
This reverts commit 2a6936fab4d4499a4b812dd330d3db50549029e0. The commit
@ -89,5 +89,5 @@ index 05794d9..4b1b438 100644
return 1;
}
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 5910f1bc983fbab31f9ec86a7166feee4869c21a Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sun, 29 Sep 2013 12:38:29 -0400
Subject: [PATCH 62/89] libparted: avoid disturbing partitions
Subject: [PATCH 062/131] libparted: avoid disturbing partitions
The partition sync logic was first removing all
partitions, then trying to re-add them. This resulted in many
@ -137,5 +137,5 @@ index 4b1b438..f43eae1 100644
if (!add_partition (disk, part)) {
ok[i - 1] = 0;
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 02fc13fb6611b68d7d3275777f5674192b2f2bb5 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sun, 17 Nov 2013 22:45:39 -0500
Subject: [PATCH 63/89] Fix test compilation
Subject: [PATCH 063/131] Fix test compilation
The tests were not being linked against libpthread but were using
it, and recent versions of gcc refuse to implicitly pull it in.
@ -24,5 +24,5 @@ index bfa5790..12abe60 100644
AM_CPPFLAGS = \
$(CHECK_CFLAGS) \
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From d151cc20af79c89383ffacc89c1f646f831fc3e6 Mon Sep 17 00:00:00 2001
From: Daniel Battaiola Kreling <dbkreling@br.ibm.com>
Date: Mon, 7 Oct 2013 11:51:50 +0530
Subject: [PATCH 64/89] GPT: add support for PReP GUID
Subject: [PATCH 064/131] GPT: add support for PReP GUID
PReP (PowerPC Reference Platform) boot partition is the first partition used in
PowerPC platform for containing the bootable kernel or bootloader. The firmware
@ -206,5 +206,5 @@ index bcf7812..66c96e6 100644
case PED_PARTITION_SWAP:
case PED_PARTITION_ROOT:
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,8 @@
From 01900e056ec250836d15b5f5c3f59a8e1454b781 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Mon, 4 Nov 2013 13:10:09 -0500
Subject: [PATCH 65/89] libparted: make sure not to treat percentages as exact
Subject: [PATCH 065/131] libparted: make sure not to treat percentages as
exact
If 1% of the drive size worked out ot be an even power of
two, it would trigger the exact placement. Add an exception
@ -40,5 +41,5 @@ index e545985..ff479f1 100644
*sector = num * unit_size / dev->sector_size;
--
1.8.5.3
1.9.3

View File

@ -1,8 +1,8 @@
From cf16ea884fc72aa99b49f721fc186429cec9fa87 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sun, 22 Dec 2013 22:13:12 -0500
Subject: [PATCH 66/89] bug#15591: [PATCH] libparted: handle i18n gpt partition
names correctly
Subject: [PATCH 066/131] bug#15591: [PATCH] libparted: handle i18n gpt
partition names correctly
gpt.c was simply truncating the UTF-16 characters stored
in the partition name field to 8 bits. This corrupted non
@ -228,5 +228,5 @@ index 0000000..36a4c26
+
+Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 3e005b4644d2a97da85c251f93d32d93e94bcccf Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Mon, 24 Feb 2014 11:29:43 -0500
Subject: [PATCH 67/89] Fix help text for disk_{set,toggle}
Subject: [PATCH 067/131] Fix help text for disk_{set,toggle}
Fix the help text to show *disk* flags instead of partition flags.
---
@ -94,5 +94,5 @@ index b20d432..a7d9363 100644
command_register (commands, command_create (
str_list_create_unique ("set", _("set"), NULL),
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From c261a9b340e2982a49e055ea6332fd0f49f3d531 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:24:51 -0700
Subject: [PATCH 68/89] libparted: copy pmbr_boot when duplicating GPT disk
Subject: [PATCH 068/131] libparted: copy pmbr_boot when duplicating GPT disk
* libparted/labels/gpt.c (gpt_duplicate): copy pmbr_boot flag
---
@ -21,5 +21,5 @@ index dce89b1..6fd8880 100644
}
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From d19d16357aff6bff634ad134597c0626c21496ac Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:24:52 -0700
Subject: [PATCH 69/89] tests: test creating 20 device-mapper partitions
Subject: [PATCH 069/131] tests: test creating 20 device-mapper partitions
(#803108)
* tests/t6004-dm-many-partitions.sh: Make sure > 17 partitions appear in
@ -91,5 +91,5 @@ index 0000000..4d08e72
+
+Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 60fe959e1446337c3455656daad2c2b7114a1dcd Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:24:53 -0700
Subject: [PATCH 70/89] libparted: use dm_udev_wait (#698121)
Subject: [PATCH 070/131] libparted: use dm_udev_wait (#698121)
This is based on Peter Rajnoha's patch to use dm_udev_wait to
synchronize with udev.
@ -136,5 +136,5 @@ index f43eae1..452ea7f 100644
dm_task_destroy (task);
free (params);
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,8 @@
From 39e38c0a4c0f3ad0e029792e0ddee9761b956c1e Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:24:54 -0700
Subject: [PATCH 71/89] libparted: preserve the uuid on dm partitions (#832145)
Subject: [PATCH 071/131] libparted: preserve the uuid on dm partitions
(#832145)
* libparted/arch/linux.c (_dm_add_partition): Set the uuid if there was
one.
@ -76,5 +77,5 @@ index 452ea7f..4376d17 100644
return 0;
}
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From a963cd53ab1f14ef7f9a9b84a2536103ad690479 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:24:55 -0700
Subject: [PATCH 72/89] tests: Make sure dm UUIDs are not erased
Subject: [PATCH 072/131] tests: Make sure dm UUIDs are not erased
* tests/t6005-dm-uuid.sh: Make sure dm UUIDs are not erased
---
@ -87,5 +87,5 @@ index 0000000..f58cb06
+
+Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,8 @@
From 7be35be5de01fa90f23810fb66efc3ccdbe5679a Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:25:01 -0700
Subject: [PATCH 73/89] libparted: don't canonicalize /dev/md/ paths (#872361)
Subject: [PATCH 073/131] libparted: don't canonicalize /dev/md/ paths
(#872361)
This is the same issue we have with /dev/mapper/ paths that was fixed in
commit c1eb485b9fd8919e18f192d678bc52b0488e6ee0. When libparted
@ -49,5 +50,5 @@ index 738b320..cdcc117 100644
if (!normal_path)
/* Well, maybe it is just that the file does not exist.
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 6a3194bf13d23c4e7fcc346f7188060d50f3cedc Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:25:02 -0700
Subject: [PATCH 74/89] tests: rewrite t6001 to use /dev/mapper
Subject: [PATCH 074/131] tests: rewrite t6001 to use /dev/mapper
This test began failing because using a private copy of /dev/mapper
confuses the system. This fixes that and generally cleans up the test.
@ -88,5 +88,5 @@ index da6b8a1..809ff9e 100644
+
Exit $fail
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 4d0cd271069997e7d44ed3b52426ccf2570048c8 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:25:03 -0700
Subject: [PATCH 75/89] libparted: Add Intel Rapid Start Technology partition
Subject: [PATCH 075/131] libparted: Add Intel Rapid Start Technology partition
flag.
This adds support for the irst partition type flag. Sets the type to
@ -380,5 +380,5 @@ index 6fd8880..ff87708 100644
case PED_PARTITION_SWAP:
case PED_PARTITION_ROOT:
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 6a5b3b5727845af0c5cef35dee3d8e8c69262fdc Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:25:04 -0700
Subject: [PATCH 76/89] libparted: Add UEFI System Partition flag.
Subject: [PATCH 076/131] libparted: Add UEFI System Partition flag.
This adds support for the ESP partition type on MS-DOS. It also aliases
it to the boot flag on GPT which sets the ESP GUID type.
@ -237,5 +237,5 @@ index ff87708..42b0360 100644
case PED_PARTITION_SWAP:
case PED_PARTITION_ROOT:
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 33273acc7822b382b5e8226ba65453b6229f5dd6 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:25:06 -0700
Subject: [PATCH 77/89] libparted: Recognize btrfs filesystem
Subject: [PATCH 077/131] libparted: Recognize btrfs filesystem
Add support for showing 'btrfs' in the 'file system' column. Also
allows the used to enter btrfs as the fs type. It doesn't really do
@ -180,5 +180,5 @@ index 9923bfa..3afbf8e 100644
static void _done() __attribute__ ((destructor));
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 9279fc06572959c4698deb2f1d3df8daaed66e87 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:25:07 -0700
Subject: [PATCH 78/89] tests: Add btrfs and xfs to the fs probe test
Subject: [PATCH 078/131] tests: Add btrfs and xfs to the fs probe test
* tests/tests/t1700-probe-fs.sh: Add btrfs and xfs
---
@ -22,5 +22,5 @@ index 7ce53d0..0418e73 100755
( mkfs.$type -V ) >/dev/null 2>&1 \
|| { warn_ "$ME: no $type support"; continue; }
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From fec001a2c83750c35f47e6e621f3acb22e459c7a Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 11 Sep 2013 12:25:09 -0700
Subject: [PATCH 79/89] tests: Restrict gpt-header-munge to little-endian
Subject: [PATCH 079/131] tests: Restrict gpt-header-munge to little-endian
systems
gpt-header-munge uses perl to manipulate the gpt header for the test. It
@ -48,5 +48,5 @@ index 58625a2..a87e753 100644
ns=100 # Initial number of sectors.
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 80f4f42c805ee37392c5cc43d8ac08772b7b1cf1 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sat, 1 Mar 2014 21:23:39 -0500
Subject: [PATCH 80/89] libparted: don't require a system id string
Subject: [PATCH 080/131] libparted: don't require a system id string
Historically the system ID field of a fat boot sector contains a
string identifying the OS that formatted it. It appears that some
@ -64,5 +64,5 @@ index 07b39cf..3aff1d7 100644
|| PED_LE16_TO_CPU (bs->sector_size) % PED_SECTOR_SIZE_DEFAULT) {
ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 026736e9fed89ef00e6e6e84c7e422639ac2715c Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Mon, 23 Dec 2013 15:28:22 -0500
Subject: [PATCH 81/89] libparted: sync partitions > 16
Subject: [PATCH 081/131] libparted: sync partitions > 16
The linux partition sync code was hard coded to only flush
the first 16 partitions.
@ -54,5 +54,5 @@ index 4376d17..71f5034 100644
int fd;
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From cc382c3753e1b430c00df46f0937b74db36ccb8a Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Mon, 3 Mar 2014 10:40:08 -0300
Subject: [PATCH 82/89] ui: switch to new-style readline typedef
Subject: [PATCH 082/131] ui: switch to new-style readline typedef
The CPPFunction typedef (among others) have been deprecated in favour of
specific prototyped typedefs since readline 4.2 (circa 2001).
@ -28,5 +28,5 @@ index 786deed..b33f6fc 100644
}
#endif
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 503e98c49fa06512fd1b0318aba6ee5de6cbd7b4 Mon Sep 17 00:00:00 2001
From 8993950f50275724b2cb1c4960977dc78eec2ed2 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Tue, 8 Apr 2014 10:54:27 -0700
Subject: [PATCH 88/91] libparted: Fix check for backup header location
Subject: [PATCH 083/131] libparted: Fix check for backup header location
Add a couple of helper functions for calculating the partition table
entry size (in sectors) and for guessing the end of the disk based on
@ -83,5 +83,5 @@ index 42b0360..c5dea2f 100644
}
}
--
1.9.0
1.9.3

View File

@ -1,7 +1,8 @@
From e64081878775a6f34b5206dd066a47ed2496cbab Mon Sep 17 00:00:00 2001
From 3398e82af3d26cc1ab938f2e0896204f11bce4ca Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Tue, 8 Apr 2014 11:12:17 -0700
Subject: [PATCH 89/91] libparted: Use common function to calculate PTE sectors
Subject: [PATCH 084/131] libparted: Use common function to calculate PTE
sectors
Use _ptes_sectors in _parse_header's calculation to determine if the
disk has been grown.
@ -43,5 +44,5 @@ index c5dea2f..6eff38a 100644
}
else if (q != PED_EXCEPTION_UNHANDLED)
--
1.9.0
1.9.3

View File

@ -1,7 +1,7 @@
From 5652c9fc136ecf1a209bae40ba25fde2a44d8edc Mon Sep 17 00:00:00 2001
From 368e47b1c00ed36c07275815f69274a985b4aab8 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Tue, 25 Mar 2014 17:44:08 -0700
Subject: [PATCH 90/91] tests: Add emit_superuser_warning for gpt tests
Subject: [PATCH 085/131] tests: Add emit_superuser_warning for gpt tests
When parted runs without script mode it will print a warning about not
being superuser. Add the library call to add this to expected output
@ -69,5 +69,5 @@ index 2a53407..c7ae52a 100644
Using DEVICE
Welcome to GNU Parted! Type 'help' to view a list of commands.
--
1.9.0
1.9.3

View File

@ -1,7 +1,7 @@
From bd3f8d6be818acc711056372870da2c915a9fd36 Mon Sep 17 00:00:00 2001
From 2ee70befff05e6d5004df7491b373445531318e7 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 26 Mar 2014 09:35:07 -0700
Subject: [PATCH 91/91] tests: Use msdos-overlap to setup t0283
Subject: [PATCH 086/131] tests: Use msdos-overlap to setup t0283
xxd isn't present in minimal build systems, as it is part of vim. Change
to using a simple python script to mangle the msdos disklabel for the
@ -98,5 +98,5 @@ index c7ae52a..221332d 100644
# print the empty table
parted ---pretend-input-tty $dev <<EOF > out 2>&1 || fail=1
--
1.9.0
1.9.3

View File

@ -1,7 +1,7 @@
From 248262f5778ab64a0ccb03d3a269feb245f9b844 Mon Sep 17 00:00:00 2001
From dbcd731411369cd40c842ca492988308b444c42c Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Tue, 8 Apr 2014 17:08:22 -0700
Subject: [PATCH 92/93] testing: Use little-endian packing in gpt tests
Subject: [PATCH 087/131] testing: Use little-endian packing in gpt tests
Fix gpt-header-move.py and gpt-header-munge to use little endian when
packing and unpacking. This allows us to turn the t0210 and t0211 tests
@ -148,5 +148,5 @@ index a87e753..ee33e43 100644
ss=$sector_size_
--
1.9.0
1.9.3

View File

@ -1,7 +1,7 @@
From 1f3ea39d4b6b8576c6ac3797c3c9820fcc7107b8 Mon Sep 17 00:00:00 2001
From fcf8dc3741c27602c64e5c4164ac26eca17ed5f3 Mon Sep 17 00:00:00 2001
From: Ming Liu <ming.liu@windriver.com>
Date: Sat, 16 Feb 2013 10:16:20 +0800
Subject: [PATCH 93/93] libparted: fix several integer overflows with dvh
Subject: [PATCH 088/131] libparted: fix several integer overflows with dvh
labels
Integer overflows was found in libparted/labels/dvh.c, while attemptting
@ -46,5 +46,5 @@ index 4c25c99..7e7fae7 100644
#define PTYPE_VOLHDR 0 /* partition is volume header */
--
1.9.0
1.9.3

View File

@ -1,7 +1,7 @@
From abd761cc286c56e9b9d19c22bb044d2b416a4e8a Mon Sep 17 00:00:00 2001
From bb181a7ec46f2820368359b7aba0917be089e0c5 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Mon, 14 Apr 2014 15:04:17 -0700
Subject: [PATCH] tests: Use force for xfs in t1700 and a larger file
Subject: [PATCH 089/131] tests: Use force for xfs in t1700 and a larger file
Also use sparse files that are (with 512B blocks) 128M so that they are
large enough for all the filesystems.
@ -48,5 +48,5 @@ index 0418e73..08ec7d9 100755
# set the feature
--
1.9.0
1.9.3

View File

@ -1,7 +1,7 @@
From 3819a3822af62c56c0e1f4b0ab1c6aea9ae147bb Mon Sep 17 00:00:00 2001
From 33fdfa0f29d0d9c0135da6da80e6953d8f509b7b Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Thu, 17 Apr 2014 12:12:29 -0700
Subject: [PATCH 95/99] tests: t1700 change count to seek
Subject: [PATCH 090/131] tests: t1700 change count to seek
Fix a typo when changing to sparse images.
@ -33,5 +33,5 @@ index 08ec7d9..bf6ad9c 100755
# set the feature
--
1.9.0
1.9.3

View File

@ -1,7 +1,7 @@
From 6aa11c2e96499a4a620b54433fd064961d1cbf66 Mon Sep 17 00:00:00 2001
From d1ca2a5eacc2de4b9f755c10fcf8b14e6c1d2dc1 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Fri, 18 Apr 2014 11:01:03 -0400
Subject: [PATCH 101/103] libparted: remove last_usable_if_grown
Subject: [PATCH 091/131] libparted: remove last_usable_if_grown
Commit 3398e82a: "libparted: Use common function to calculate PTE sectors"
removed usage of the last_usable_if_grown variable, resulting in an error
@ -11,7 +11,7 @@ because it is now unused but still defined.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libparted/labels/gpt.c b/libparted/labels/gpt.c
index e1113ac..b7291a8 100644
index 6eff38a..5c8df59 100644
--- a/libparted/labels/gpt.c
+++ b/libparted/labels/gpt.c
@@ -723,7 +723,7 @@ _parse_header (PedDisk *disk, const GuidPartitionTableHeader_t *gpt,
@ -24,5 +24,5 @@ index e1113ac..b7291a8 100644
#ifndef DISCOVER_ONLY
--
1.9.0
1.9.3

View File

@ -0,0 +1,29 @@
From 60d7ceec9cbabbf114bb05b391f355fdbe418571 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Fri, 18 Apr 2014 12:29:57 -0400
Subject: [PATCH 092/131] tests: fix t1700
bb181a7e: "tests: Use force for xfs in t1700 and a larger file" caused
the previous filesystem signatures to be left in the image file
causing mkfs.nilfs2 to complain that there is already an xfs filesystem
there, and hang the test suite waiting for an answer to proceed or not.
Remove the file between filesystems so it is recreated cleanly again.
---
tests/t1700-probe-fs.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/t1700-probe-fs.sh b/tests/t1700-probe-fs.sh
index bf6ad9c..2ba2f95 100755
--- a/tests/t1700-probe-fs.sh
+++ b/tests/t1700-probe-fs.sh
@@ -39,6 +39,7 @@ for type in ext2 ext3 ext4 btrfs xfs nilfs2; do
# probe the $type file system
parted -m -s $dev u s print >out 2>&1 || fail=1
grep '^1:.*:'$type'::;$' out || { cat out; fail=1; }
+ rm $dev
done
--
1.9.3

View File

@ -1,7 +1,7 @@
From d68ca7fe15915849629c85f5a5476b2173b3af2c Mon Sep 17 00:00:00 2001
From d0a4cc1b57750a92afb48b229e4791154afa322b Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Sat, 29 Mar 2014 16:29:06 -0400
Subject: [PATCH 102/103] tests: fix t2310-dos-extended-2-sector-min-offset.sh
Subject: [PATCH 093/131] tests: fix t2310-dos-extended-2-sector-min-offset.sh
This test was ignoring the requested sector size and always using
512 bytes per sector. Fix it to use the requested sector size.
@ -41,5 +41,5 @@ index f74cba5..53843ab 100644
parted -s $scsi_dev mklabel msdos || fail=1
parted --align=min -s $scsi_dev mkpart extended 64s 128s> out 2>&1 || fail=1
--
1.9.0
1.9.3

View File

@ -1,7 +1,7 @@
From dab3a267bebcff3308b69f0d1bdaf44b6547d3cb Mon Sep 17 00:00:00 2001
From 80678bdd957cf49a9ccfc8b88ba3fb8b4c63fc12 Mon Sep 17 00:00:00 2001
From: Phillip Susi <psusi@ubuntu.com>
Date: Mon, 17 Mar 2014 22:07:55 -0400
Subject: [PATCH 103/103] Fix filesystem detection on non 512 byte sectors
Subject: [PATCH 094/131] Fix filesystem detection on non 512 byte sectors
Enable probing for filesystems with non 512 byte sectors, and fix up each
filesystem to correctly handle that. Remove unused field from the fs type
@ -1325,5 +1325,5 @@ index 0062604..d4144f8 100644
void
--
1.9.0
1.9.3

View File

@ -1,7 +1,8 @@
From 23aa4931695ab570c52c2be9c5144fc61825be1a Mon Sep 17 00:00:00 2001
From f70ff1fc474764c3a71318ddb4e0d26afc52ac47 Mon Sep 17 00:00:00 2001
From: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com>
Date: Wed, 21 Aug 2013 16:09:56 -0700
Subject: [PATCH 83/89] libparted: add support for implicit FBA DASD partitions
Subject: [PATCH 095/131] libparted: add support for implicit FBA DASD
partitions
Fixed Block Access (FBA) DASDs are mainframe-specific disk devices
which are layed out as a sequence of 512-byte sectors. In contrast
@ -192,5 +193,5 @@ index e235dd3..f92065f 100644
/*
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 0c63ddb9fb21bda584e60e501ac51c93a7eb2d14 Mon Sep 17 00:00:00 2001
From cbec53fdb9c8b244b497e42b0b215a8276803a88 Mon Sep 17 00:00:00 2001
From: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com>
Date: Wed, 21 Aug 2013 16:27:13 -0700
Subject: [PATCH 84/89] libparted: add support for EAV DASD partitions
Subject: [PATCH 096/131] libparted: add support for EAV DASD partitions
Extended Address Volume (EAV) DASDs are ECKD DASDs with more than
65520 cylinders. This patch adds support for recognizing and
@ -1067,5 +1067,5 @@ index cf2990e..fdfa94f 100644
puts ("BUG: syntax error in vtoc_set_freespace call");
--
1.8.5.3
1.9.3

View File

@ -1,44 +0,0 @@
From 2621c147fb65a4034fd186b07792634d26488b5f Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Wed, 16 Apr 2014 17:58:29 -0700
Subject: [PATCH 96/99] tests: Make t4100 xfs filesystem larger and sparse
Newer versions of mkfs.xfs appear to be using more blocks for the
journal, causing t4100-* tests to fail. Make the image larger.
* tests/t4100-dvh-partition-limits.sh: Make the xfs image larger
* tests/t4100-msdos-partition-limits.sh: Make the xfs image larger
---
tests/t4100-dvh-partition-limits.sh | 2 +-
tests/t4100-msdos-partition-limits.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/t4100-dvh-partition-limits.sh b/tests/t4100-dvh-partition-limits.sh
index a1bc69a..fb10025 100755
--- a/tests/t4100-dvh-partition-limits.sh
+++ b/tests/t4100-dvh-partition-limits.sh
@@ -37,7 +37,7 @@ mp=`pwd`/mount-point
n=4096
# create an XFS file system
-dd if=/dev/zero of=$fs bs=1MB count=2 seek=20 || fail=1
+dd if=/dev/null of=$fs bs=1MB seek=50 || fail=1
mkfs.xfs -f -q $fs || fail=1
mkdir "$mp" || fail=1
diff --git a/tests/t4100-msdos-partition-limits.sh b/tests/t4100-msdos-partition-limits.sh
index 65bda25..af7907f 100755
--- a/tests/t4100-msdos-partition-limits.sh
+++ b/tests/t4100-msdos-partition-limits.sh
@@ -37,7 +37,7 @@ mp=`pwd`/mount-point
n=4096
# create an XFS file system
-dd if=/dev/zero of=$fs bs=1MB count=2 seek=20 || fail=1
+dd if=/dev/null of=$fs bs=1MB seek=50 || fail=1
mkfs.xfs -f -q $fs || fail=1
mkdir "$mp" || fail=1
--
1.9.0

View File

@ -1,7 +1,7 @@
From 2a84a5a219fb5d42e7b9e59f00c4cba78f4451fb Mon Sep 17 00:00:00 2001
From 95649fc7d025a68074c8a00581bd24d2bd7751bc Mon Sep 17 00:00:00 2001
From: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com>
Date: Wed, 21 Aug 2013 16:36:08 -0700
Subject: [PATCH 85/89] libparted: mklabel to support EAV DASD
Subject: [PATCH 097/131] libparted: mklabel to support EAV DASD
Extended Address Volume (EAV) DASDs are ECKD DASDs with more than
65520 cylinders. This patch adds support for mklabel to properly
@ -155,5 +155,5 @@ index 2735b2a..b58b2be 100644
}
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,8 @@
From ce6edd81fa7dc0babd8a8353973f09a2db1035a6 Mon Sep 17 00:00:00 2001
From 0673dabee6f5b19317b0d85e399e9f876a2c2ea7 Mon Sep 17 00:00:00 2001
From: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com>
Date: Wed, 21 Aug 2013 16:37:17 -0700
Subject: [PATCH 86/89] libparted: Avoid dasd as default disk type while probe
Subject: [PATCH 098/131] libparted: Avoid dasd as default disk type while
probe
This patch avoids setting 'dasd' as a default disk type for
'disk image file' at the time of probe.
@ -63,5 +64,5 @@ index b58b2be..7de5f34 100644
anc->dev_type = dasd_info.dev_type;
--
1.8.5.3
1.9.3

View File

@ -1,7 +1,7 @@
From 606c5aa22cf47bddf64b51a54b1fe516dcd9a5e0 Mon Sep 17 00:00:00 2001
From bdb439f660344404f27084c48fe7b9429436b9e9 Mon Sep 17 00:00:00 2001
From: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com>
Date: Wed, 21 Aug 2013 16:37:17 -0700
Subject: [PATCH 87/89] libparted: mklabel to support EDEV DASD
Subject: [PATCH 099/131] libparted: mklabel to support EDEV DASD
Fixed Block Access (FBA) DASDs are mainframe-specific disk devices
which are layed out as a sequence of 512-byte sectors. This patch adds
@ -52,5 +52,5 @@ index 7de5f34..1f87937 100644
} else if (strncmp (v->volkey, vtoc_ebcdic_enc ("LNX1", str, 4), 4) == 0 ||
strncmp (v->volkey, vtoc_ebcdic_enc ("CMS1", str, 4), 4) == 0) {
--
1.8.5.3
1.9.3

Some files were not shown because too many files have changed in this diff Show More