I have released parted 3.6
Here are the compressed sources and a GPG detached signature[*]:
http://ftp.gnu.org/gnu/parted/parted-3.6.tar.xz
http://ftp.gnu.org/gnu/parted/parted-3.6.tar.xz.sig
Use a mirror for higher download bandwidth:
https://www.gnu.org/order/ftp.html
Here are the SHA256 checksums:
3b43dbe33cca0f9a18601ebab56b7852b128ec1a3df3a9b30ccde5e73359e612 ./parted-3.6.tar.xz
cdc0e7fcf5056e7f3f45d43bb980bd6d835b09a5c762ecd2b65c47742a0e583e ./parted-3.6.tar.xz.sig
[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:
gpg --verify parted-3.6.tar.xz.sig
If that command fails because you don't have the required public key,
or that public key has expired, try the following commands to update
or refresh it, and then rerun the 'gpg --verify' command.
gpg --locate-external-key bcl@redhat.com
gpg --recv-keys 117E8C168EFE3A7F
wget -q -O- 'https://savannah.gnu.org/project/release-gpgkeys.php?group=parted&download=1' | gpg --import -
This release was bootstrapped with the following tools:
Autoconf 2.71
Automake 1.16.5
Gettext 0.21
Gnulib v0.1-5949-g480a59ba60
Gperf 3.1
NEWS
Promoting alpha release to stable release 3.6
** New Features
Support GPT partition attribute bit 63 as no_automount flag.
Add type commands to set type-id on MS-DOS and type-uuid on GPT.
Add swap flag support to the dasd disklabel
Add display of GPT disk and partition UUIDs in JSON output
** Bug Fixes
Fix use of enums in flag limits by switching to using #define
Fix ending sector location when using kibi IEC suffix
I have released an alpha version of parted-3.5.28
Here are the compressed sources and a GPG detached signature[*]:
http://alpha.gnu.org/gnu/parted/parted-3.5.28.tar.xz
http://alpha.gnu.org/gnu/parted/parted-3.5.28.tar.xz.sig
Use a mirror for higher download bandwidth:
https://www.gnu.org/order/ftp.html
Here are the SHA256 checksums:
af8a880df2e7b577c99ed9ee27a38e3f645896de8354dbfc05d8e81179a6d6dc parted-3.5.28.tar.xz
49e8c4fc8aae92d8922f39aaae1fcdb0c8be3f3a80d34e006916e93a4a4852fc parted-3.5.28.tar.xz.sig
[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:
gpg --verify parted-3.5.28.tar.xz.sig
If that command fails because you don't have the required public key,
or that public key has expired, try the following commands to update
or refresh it, and then rerun the 'gpg --verify' command.
gpg --locate-external-key bcl@redhat.com
gpg --recv-keys 117E8C168EFE3A7F
wget -q -O- 'https://savannah.gnu.org/project/release-gpgkeys.php?group=parted&download=1' | gpg --import -
This release was bootstrapped with the following tools:
Autoconf 2.71
Automake 1.16.5
Gettext 0.21
Gnulib v0.1-5949-g480a59ba60
Gperf 3.1
NEWS
** New Features
Support GPT partition attribute bit 63 as no_automount flag.
Add type commands to set type-id on MS-DOS and type-uuid on GPT.
Add swap flag support to the dasd disklabel
Add display of GPT disk and partition UUIDs in JSON output
** Bug Fixes
Fix use of enums in flag limits by switching to using #define
Fix ending sector location when using kibi IEC suffix
I have released parted v3.5, the only change from the previous alpha was
updating gnulib to the current version.
Here are the compressed sources and a GPG detached signature[*]:
https://ftp.gnu.org/gnu/parted/parted-3.5.tar.xz
https://ftp.gnu.org/gnu/parted/parted-3.5.tar.xz.sig
Use a mirror for higher download bandwidth:
https://www.gnu.org/order/ftp.html
Here are the SHA256 checksums:
4938dd5c1c125f6c78b1f4b3e297526f18ee74aa43d45c248578b1d2470c05a2 parted-3.5.tar.xz
1b4a381f344435baf69616a985fac6f411d740de9eebd91e4cccdf046332366a parted-3.5.tar.xz.sig
[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:
gpg --verify parted-3.5.tar.xz.sig
If that command fails because you don't have the required public key,
or that public key has expired, try the following commands to update
or refresh it, and then rerun the 'gpg --verify' command.
gpg --locate-external-key bcl@redhat.com
gpg --recv-keys 117E8C168EFE3A7F
wget -q -O- 'https://savannah.gnu.org/project/release-gpgkeys.php?group=parted&download=1' | gpg --import -
This release was bootstrapped with the following tools:
Autoconf 2.71
Automake 1.16.5
Gettext 0.21
Gnulib v0.1-5201-g0cda5beb79
Gperf 3.1
NEWS
** New Features
Update to latest gnulib for 3.5 release
** Bug Fixes
usage: remove the mention of "a particular partition"
** New Features
Add --fix to --script mode to automatically fix problems like the backup
GPT header not being at the end of a disk.
Add use of the swap partition flag to msdos disk labeled disks.
Allow the partition name to be an empty string when set in script mode.
Add --json command line switch to output the details of the disk as JSON.
Add support for the Linux home GUID using the linux-home flag.
** Bug Fixes
Decrease disk sizes used in tests to make it easier to run the test suite
on systems with less memory. Largest filesystem is now 267MB (fat32). The
rest are only 10MB.
Add aarch64 and mips64 as valid machines for testing.
Escape colons and backslashes in the machine output. Device path,
model, and partition name could all include these. They are now
escaped with a backslash.
Use libdevmapper's retry remove option when the device is BUSY. This
prevents libdevmapper from printing confusin output when trying to
remove a busy partition.
Keep GUID specific attributes when writing the GPT header. Previously
they were set to 0.
Here are the compressed sources and a GPG detached signature[*]:
http://alpha.gnu.org/gnu/parted/parted-3.4.64.tar.xz
http://alpha.gnu.org/gnu/parted/parted-3.4.64.tar.xz.sig
Use a mirror for higher download bandwidth:
https://www.gnu.org/order/ftp.html
Here are the SHA256 checksums:
parted-3.4.64.tar.xz = 00b686e9cb536a14b5a2831077903fb573f0e7d644d1ba8bbb1b255b767560af
parted-3.4.64.tar.xz.sig = b309bcb6630d004e76452e2dcaf71e0f84d41f19abe7564a39f14d55bc9d9ee9
[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:
gpg --verify parted-3.4.64.tar.xz.sig
If that command fails because you don't have the required public key,
or that public key has expired, try the following commands to update
or refresh it, and then rerun the 'gpg --verify' command.
gpg --locate-external-key bcl@redhat.com
gpg --recv-keys 117E8C168EFE3A7F
wget -q -O- 'https://savannah.gnu.org/project/release-gpgkeys.php?group=parted&download=1' | gpg --import -
This release was bootstrapped with the following tools:
Autoconf 2.71
Automake 1.16.5
Gettext 0.21
Gnulib v0.1-5192-gc386ed6eb0
Gperf 3.1
NEWS
** New Features
Add --fix to --script mode to automatically fix problems like the backup
GPT header not being at the end of a disk.
Add use of the swap partition flag to msdos disk labeled disks.
Allow the partition name to be an empty string when set in script mode.
Add --json command line switch to output the details of the disk as JSON.
Add support for the Linux home GUID using the linux-home flag.
** Bug Fixes
Decrease disk sizes used in tests to make it easier to run the test suite
on systems with less memory. Largest filesystem is now 267MB (fat32). The
rest are only 10MB.
Add aarch64 and mips64 as valid machines for testing.
Escape colons and backslashes in the machine output. Device path,
model, and partition name could all include these. They are now
escaped with a backslash.
Use libdevmapper's retry remove option when the device is BUSY. This
prevents libdevmapper from printing confusin output when trying to
remove a busy partition.
Keep GUID specific attributes when writing the GPT header. Previously
they were set to 0.
Parted 3.4 has been released. This release includes many bug fixes and new features.
Here is Parted's home page:
http://www.gnu.org/software/parted/
For a summary of all changes and contributors, see:
https://git.savannah.gnu.org/cgit/parted.git/log/?h=v3.4
or run this command from a git-cloned parted directory:
git shortlog v3.3..v3.4 (appended below)
Here are the compressed sources and a GPG detached signature[*]:
http://ftp.gnu.org/gnu/parted/parted-3.4.tar.xz
http://ftp.gnu.org/gnu/parted/parted-3.4.tar.xz.sig
Use a mirror for higher download bandwidth:
https://www.gnu.org/order/ftp.html
[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:
gpg --verify parted-3.4.tar.xz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys 117E8C168EFE3A7F
and rerun the 'gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.69
Automake 1.16.1
Gettext 0.21
Gnulib v0.1-4131-g252c4d944a
Gperf 3.1
NEWS
Include local gnulib change to version-etc.c date.
This means including a non-public gnulib commit in this release.
cfg.mk: disable submodule checks to work around broken upstream gnulib
================================================================
Here is a log of the commits since parted 3.3
Alper Nebi Yasak (1):
libparted: Add ChromeOS Kernel partition flag
Brian C. Lane (49):
maint: post-release administrivia
Switch gpt-header-move and msdos-overlap to python3
maint: Add note about gpg key selection for gnupload
tests: Test incomplete resizepart command
Fix end_input usage in do_resizepart
libparted: Add support for MSDOS partition type bls_boot (0xea)
libparted: Add support for bls_boot to GPT disks
NEWS: Add bls_boot to new features
parted: Preserve resizepart End when prompted for busy partition
tests: Add a test for resizepart on a busy partition
tests: Update all the dmsetup tests to use ENABLE_DEVICE_MAPPER
bsd: Fix gcc complaints when using boot_code pointer
dos: Fix gcc complaints when using boot_code pointer
linux: Fix gcc complains about signed sccanf variables
tests: Fix unsigned warning in duplicate.c
hfs: Fix gcc 10 bounds check warning
hfs/advfs: Fix gcc 10 warnings about cast alignment
hfs/advfs_plus: Fix gcc 10 warnings about cast alignment
hfs/hfs: Fix gcc 10 warnings about cast alignment
ext2: Fix gcc 10 warnings about cast alignment
nilfs2: Fix gcc 10 warnings about cast alignment
ntfs: Fix gcc 10 warnings about cast alignment
ufs: Fix gcc 10 warnings about cast alignment
ped_assert: Fix incorrect exception option
ui: Fix command_line_get_disk_flag
ui: Fix gcc 10 warning about snprintf truncating an int
hfs/reloc: Fix gcc 10 warnings about cast alignment
hfs/reloc_plus: Fix gcc 10 warnings about cast alignment
fs/r/fat: Remove disabled code
fs/r/hfs: Remove disabled code
libparted: Remove disabled code
libparted/fs: Fix GCC warnings suggesting pure for PED_ASSERT functions
labels/bsd.c: Drop alpha_bootblock_checksum from bsd_probe
maint: Update to latest gnulib
maint: Update bootstrap script from latest gnulib
maint: Bump library REVISION number for release
configure.ac (AC_PREREQ): Require 2.64
maint: Update copyright statements to 2020
po/POTFILES.in: Remove xstrtol-error.c
libparted: Check for NULL flag_name in ped_partition_flag_get_by_name
libparted/fs: Add ./lib to include search path
version 3.3.52
maint: post-release administrivia
README-release: Add information for updating the Translation Project
maint: Update copyright statements to 2021
Include local gnulib change to version-etc.c date
cfg.mk: disable submodule checks to work around broken upstream gnulib
NEWS: Mention the non-public gnulib commit
version 3.4
Joe Slater (1):
t6001-psep: modify device manage support detection
Max Campbell (1):
Removed reference to ped_file_system_create
Petr Lautrbach (1):
Do not link to libsepol or libselinux
Romain Perier (2):
Add support for the F2FS filesystem
tests: Add f2fs to the fs probe test
Shin'ichiro Kawasaki (6):
libparted: Fix a GCC warning -Wunused-but-set-variable
libparted: Fix warnings from GCC 8 -Wunused-variable and -Warray-bounds
libparted: Fix warnings from GCC's -Wimplicit-fallthrough
libparted: Avoid a GCC warning for unused functions
libparted: Fix warnings from GCC 8 -Wsuggest-attribute=pure
libparted: Fix warnings from GCC 8 -Wsuggest-attribute=const
I've built a 3.3.52 alpha, this will become the stable 3.4 release in a
few weeks if nothing critical is found. I'll be on vacation for a bit, I
may not do this until mid-January.
Here are the compressed sources and a GPG detached signature[*]:
http://alpha.gnu.org/gnu/parted/parted-3.3.52.tar.xz
http://alpha.gnu.org/gnu/parted/parted-3.3.52.tar.xz.sig
Use a mirror for higher download bandwidth:
https://www.gnu.org/order/ftp.html
[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:
gpg --verify parted-3.3.52.tar.xz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys 117E8C168EFE3A7F
and rerun the 'gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.69
Automake 1.16.1
Gettext 0.21
Gnulib v0.1-4130-g8183682cc
Gperf 3.1
NEWS
** New Features
Add a new partition type flag, chromeos_kernel, for use with ChromeOS
machines. This is a GPT-only flag and sets the type GUID to
FE3A2A5D-4F32-41A7-B725-ACCC3285A309.
Add a new partition flag for Linux Boot Loader Specification /boot
partitions. The bls_boot flag will set the msdos partition type to 0xea
and the GPT partition type GUID to bc13c2ff-59e6-4262-a352-b275fd6f7172.
Parted 3.3 has been released. This release includes many bug fixes and new features.
Here is Parted's home page:
http://www.gnu.org/software/parted/
For a summary of all changes and contributors, see:
https://git.savannah.gnu.org/cgit/parted.git/log/?h=v3.3
or run this command from a git-cloned parted directory:
git shortlog v3.2..v3.3 (appended below)
Here are the compressed sources and a GPG detached signature[*]:
http://ftp.gnu.org/gnu/parted/parted-3.3.tar.xz
http://ftp.gnu.org/gnu/parted/parted-3.3.tar.xz.sig
Use a mirror for higher download bandwidth:
http://ftpmirror.gnu.org/parted/parted-3.3.tar.xz
http://ftpmirror.gnu.org/parted/parted-3.3.tar.xz.sig
[*] Use a .sig file to verify that the corresponding file (without the .sig suffix) is intact. First, be sure to download both the .sig file and the corresponding tarball. Then, run a command like this:
gpg --verify parted-3.3.tar.xz.sig
If that command fails because you don't have the required public key, then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys 117E8C168EFE3A7F
and rerun the 'gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.69
Automake 1.16.1
Gettext 0.19.8.1
Gnulib commit 6430babe47ece6953cf18ef07c1d8642c8588e89
Gperf 3.1
NEWS
A considerable number of patches have been made since the last release, see the git log if you want all the gory details.
A huge thank you to everyone who has contributed to this release.
================================================================
Here is a log of the commits since parted 3.2
A. Wilcox (1):
libparted: Fix endian bug in bsd.c
Alexander Todorov (3):
tests: Fall back to C.UTF-8 if no en_US.utf8 available
merge HACKING and README-hacking
Fwd: [PATCH 2/2] add verbose test documentation
Amarnath Valluri (3):
UI: Avoid memory leaks.
libparted: Fix memory leaks
libparted: Fix possible memory leaks
Arnout Vandecappelle (Essensium/Mind) (1):
libparted/labels: link with libiconv if needed
Arvin Schnell (1):
libparted: set swap flag on GPT partitions
Brian C. Lane (73):
tests: Change minimum size to 256MiB
tests: Add a test for device-mapper partition sizes
libparted: device mapper uses 512b sectors
Update manpage NAME so whatis will work
doc: Fix url for LWN article
tests: Make sure the extended partition length is correct (#1135493)
libparted: BLKPG_RESIZE_PARTITION uses bytes, not sectors (#1135493)
parted: Fix crash with name command and no disklabel (#1226067)
libparted: Stop converting . in sys path to /
libparted: Fix misspelling in hfs exception string
libparted: Use read only when probing devices on linux (#1245144)
tests: Use wait_for_dev_to_ functions
Add libparted-fs-resize.pc
docs: Add list of filesystems for fs-type (#1311596)
parted: Display details of partition alignment failure (#726856)
libparted: Remove fdasd geometry code from alloc_metadata (#1244833)
libparted: Fix probing AIX disks on other arches
tests: t3310-flags.sh skip pc98 when sector size != 512
tests: Add udevadm settle to wait_for_ loop (#1260664)
tests: Add wait to t9042 (#1257415)
tests: Fix t1700 failing on a host with a 4k xfs filesystem (#1260664)
doc: Cleanup mkpart manpage entry (#1183077)
doc: Add information about quoting
tests: Set optimal blocks to 64 for scsi_debug devices
partprobe: Open the device once for probing
tests: Stop timing t9040 (#1172675)
tests: Update t0220 and t0280 for the swap flag.
Increase timeout for rmmod scsi_debug and make it a framework failure
tests/t1701-rescue-fs wait for the device to appear.
libparted: Fix udev cookie leak in _dm_resize_partition
libparted: Fix udev cookie leak in _dm_resize_partition
atari.c: Drop xlocale.h (#1476934)
Modify gpt-header-move and msdos-overlap to work with py2 or py3
Fix the length of several strncpy calls
parted.c: Always free peek_word
parted.c: Make sure dev_name is freed
t6100-mdraid-partitions: Use v0.90 metadata for the test
Add udf to t1700-probe-fs and to the manpage
docs: Update GNU License version in parted .text files
parted: Remove PED_ASSERT from ped_partition_set_name
Fix align-check help output
README-release: Updating the release instructions
configure.ac: Remove default -Werror flag
Remove unnecessary if before free checks
Remove trailing whitespace
Fix syntax-check complaints about tests
Update syntax-check NEWS hash to cover 3.2 release notes.
Fix double semi-colons
Change 'time stamp' to 'timestamp'
atari.c: Align the AtariRawTable on a 16bit boundary
dos.c: Fix cast alignment error in maybe_FAT
Adjust the gcc warnings to recognize FALLTHROUGH
dvh.c: Use memcpy instead of strncpy
gpt.c: Align _GPTDiskData to 8 byte boundary
gpt.c: Drop cast of efi_guid_t to unsigned char *
sun.c: Aligned _SunRawLabel to 16bit boundary
Add gcc malloc attribute to ped_alloc and ped_calloc
bsd.c: Rewrite disklabel code to prevent gcc warnings
po: Add argmatch.h
Turn off c_prohibit_gnu_make_extensions
dist-check.mk: Remove empty .deps directories
doc: Create po directory if missing
libparted: Fix bug in bsd.c alpha_bootblock_checksum
maint: Update to latest gnulib
maint: Update bootstrap script from latest gnulib
maint: Bump library REVISION number for release
maint: Update copyright statements to 2019
maint: Move NEWS template to line 3
version 3.2.153
maint: post-release administrivia
README-release: Add link to upload registration page
NEWS: Note the fix for the s390 bug
version 3.3
Colin Watson (2):
parted: fix build error on s390
build: Remove unused traces of dynamic loading
Curtis Gedak (1):
lib-fs-resize: Fix recognition of FAT file system after resizing
David Cantrell (1):
Use BLKSSZGET to get device sector size in _device_probe_geometry()
Felix Janda (2):
libparted/arch/linux.c: Compile without ENABLE_DEVICE_MAPPER
libparted/fs/xfs/platform_defs.h: Include <fcntl.h> for loff_t
Gareth Randall (1):
docs: Improve partition description in parted.texi
Gustavo Zacarias (1):
bug #17883: [PATCH] configure.ac: uclinux is also linux
Hans-Joachim Baader (1):
Added support for Windows recovery partition (WINRE) on MBR
Heiko Becker (1):
libparted: also link to UUID_LIBS
John Paul Adrian Glaubitz (2):
libparted:tests: Move get_sector_size() to common.c
libparted: Add support for atari partition tables
Laurent Vivier (1):
libparted: Fix MacOS boot support
Max Staudt (1):
libparted/fs/amiga/affs.c: Remove printf() to avoid confusion
Michael Small (2):
Avoid sigsegv in case 2nd nilfs2 superblock magic accidently found.
Tests case for sigsegv when false nilfs2 superblock detected.
Mike Fleetwood (13):
lib-fs-resize: Prevent crash resizing FAT16 file systems
tests: t3000-resize-fs.sh: Add FAT16 resizing test
tests: t3000-resize-fs.sh: Add requirement on mkfs.vfat
lib-fs-resize: Prevent crash resizing FAT with very deep directories
tests: t3000-resize-fs.sh: Add very deep directory
tests: t3310-flags.sh: Query libparted for all flags to be tested
tests: t3310-flags.sh: Stop excluding certain flags from being tested
tests: t3310-flags.sh: Add test for bsd table flags
libparted: Fix to report success when setting lvm flag on bsd table
libparted: Remove commented local variable from bsd_partition_set_flag()
tests: t3310-flags.sh: Add test for mac table flags
tests: t3310-flags.sh: Add test for dvh table flags
tests: t3310-flags.sh: Add tests for remaining table types
Niklas Hambüchen (1):
mkpart: Allow negative start value when FS-TYPE is not given
Pali Rohár (1):
libparted: Add support for MBR id, GPT GUID and detection of UDF filesystem
Petr Uzel (3):
Add support for NVMe devices
libparted: only IEC units are treated as exact
libparted: Fix starting CHS in protective MBR
Phillip Susi (11):
maint: post-release administrivia
parted: don't crash in disk_set when disk label not found
parted: fix the rescue command
Add NEWS entry for fat resize fix
Fix crash when localized
Fix make check
tests: fix t6100-mdraid-partitions
Fix set and disk_set to not crash when no flags are supported
Fix resizepart iec unit end sector
Lift 512 byte restriction on fat resize
Fix atari label false positives
Richard W.M. Jones (1):
linux: Include <sys/sysmacros.h> for major() macro.
Sebastian Parschauer (3):
libparted: Don't warn if no HDIO_GET_IDENTITY ioctl
Add support for RAM drives
Add support for NVDIMM devices
Sebastian Rasmussen (1):
libparted: Fix typo in hfs error message
Sergei Antonov (1):
mac: copy partition type and name correctly
Shin'ichiro Kawasaki (4):
configure.ac: Check ABI against ABI version 2
libparted/labels/pt-tools.c: Fix gperf generated function attribute
include/parted/unit.in.h: Specify const attribute to ped_unit_get_name()
libparted: Replace abs() with llabs()
Simon Xu (1):
Fix potential command line buffer overflow
Steven Lang (1):
Use disk geometry as basis for ext2 sector sizes.
Ulrich Müller (1):
libparted: Fix ending CHS address in PMBR.
Viktor Mihajlovski (4):
fdasd: geometry handling updated from upstream s390-tools
dasd: enhance device probing
fdasd.c: Safeguard against geometry misprobing
libparted/s390: Re-enabled virtio-attached DASD heuristics
Wang Dong (13):
libparted/dasd: correct the offset where the first partition begins
libparted/dasd: unify vtoc handling for cdl/ldl
libparted/dasd: update and improve fdasd functions
libparted/dasd: add new fdasd functions
libparted/dasd: add test cases for the new fdasd functions
parted: fix crash due to improper partition number input
parted: fix wrong error label jump in mkpart
clean the disk information when commands fail in interactive mode.
parted: check the name of partition first when to name a partition
parted/ui: remove unneccesary information of command line
libpartd/dasd: improve flag processing for DASD-LDL
libparted/dasd: add an exception for changing DASD-LDL partition table
libparted/dasd: add test cases for the new fdasd functions
dann frazier (3):
ped_unit_get_name: Resolve conflicting attributes 'const' and 'pure'
Fix warnings from GCC 7's -Wimplicit-fallthrough
Read NVMe model names from sysfs
Parted 3.2 has been released. This release includes many bug fixes
and new features.
Here are the compressed sources and a GPG detached signature[*]:
http://ftp.gnu.org/gnu/parted/parted-3.2.tar.xz
http://ftp.gnu.org/gnu/parted/parted-3.2.tar.xz.sig
Use a mirror for higher download bandwidth:
http://ftpmirror.gnu.org/parted/parted-3.2.tar.xz
http://ftpmirror.gnu.org/parted/parted-3.2.tar.xz.sig
[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:
gpg --verify parted-3.2.tar.xz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys 8E45A0223348AAF0
and rerun the 'gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.69
Automake 1.14.1
Gettext 0.18.3
Gnulib v0.1-139-g98ca2c0
Gperf 3.0.4
NEWS
** New Features
Add resizepart command to resize a partition. This works even on
mounted partitions.
Add support for EAV DASD partitions, which are ECKD's with more than
65520 cylinders.
Add support for implicit FBA DASD partitions with a single immutable
partition.
Added support for recognizing btrfs filesystem. This simply displays
btrfs in the 'file system' column of the parted output.
Added new partition type flag, esp, to set the type to 0xEF on MS-DOS.
Also aliased to boot on GPT to set the UEFI ESP GUID.
Added new partition type flag, irst, for use with Intel Rapid Start
Technology. On MS-DOS disk labels it sets the type to 0x84 and on GPT
it sets the GUID to D3BFE2DE-3DAF-11DF-BA-40-E3A556D89593.
You can now choose to ignore errors about partitions that overlap,
or are longer than the disk. This allows you to use parted to
repair the problem.
Add support for prep flag to GPT to select PowerPC Reference Platform
boot partition type.
** Bug Fixes
libparted: fix mac partition tables on > 512 byte sector sizes
libparted: ped_partition_get_path() was returning "/dev/foo1" instead
of "/dev/foo" for loop labels.
partprobe: when called on a disk that has become a loop label,
remove any partitions left over from a previous label.
libparted: The loop label represents an unpartitioned disk, but creates
a dummy partition to represent the whole disk. This dummy partition
was actually being loaded into the kernel. Don't do that.
libparted: fix loop labels to not vanish if you don't create
a filesystem, and to not return an error syncing when you do.
libparted: remove all old partitions, even if new label does not allow
as many.
libparted: fat and ntfs boot sectors were misdetected as dos
partition tables instead of being treated as a loop label.
libparted: previously if you chose to ignore the warning about
the gpt thinking the disk was smaller than it appears to be on
disk, subsequent warnings on other disks would be suppressed.
Now parted will warn once per disk.
Fix filesystem detection on non 512 byte sector sizes
Fix linux partition sync code to flush partitions > 16
Do not reject a FAT boot sector as invalid because it has no
system ID string.
libparted: /dev/md/ symlink can change after libparted dereferences it,
instead it should just use the symlink as given by the caller in the
same way we do with /dev/mapper/.
libparted: On multipath systems new partitions would sometimes not
appear, reporting 'device-mapper: create ioctl failed: Device or
resource busy' until the system was rebooted. Added dm_udev_wait
calls to synchronize parted with udev.
Fix help text for disk_{set,toggle} to show disk flags instead
of partition flags.
Fix gpt to correctly handle non ASCII charcters in partition names
If a drive was 100 times an even multiple of two, sizes specified as
a percentage would trigger the exact placement rule and refuse to round
to the nearest half percent.
Avoid generating udev add/remove events for all unmodified partitions
when writing a new table.
Fix cache coherency issue by flushing partition block devices.
This had been mistakenly disabled in parted 2.0, and resulted
in parted sometimes identifying the previous filesystem type
after running an mkfs to format a partition to a new type.
libparted: fix gpt end of disk handling. Previously if the backup
copy of the gpt was not at the end of the disk and you chose to
ignore this error, parted would move it to the end of the disk
anyhow. It will now leave the backup in the same location if
you chose to ignore this error.
libparted: handle logical partitions starting immediately after
the EBR. Creating a logical partition one sector after the EBR
used to cause parted to complain that it could not inform the
kernel of the changes, but after a reboot, everything was fine.
Parted will now correctly inform the kernel of the changes, but
only set the length of the extended partition to 1 sector instead
of two, which would cause it to overlap the logical partition.
parted: fix EOF and ctrl-c handling. parted used to refuse to exit
in response to ctrl-c and would get stuck in an infinite loop
prompting for more input when it reached EOF on stdin.
libparted: Don't fail to manipulate partitions on dmraid disks that
have other partitions in use.
libparted: mac: a MAC partition table could have a block_size larger
than the one the kernel told us about. Upon reading that partition
table, libparted would ask if it's ok to use the larger block size.
If you were to respond in the affirmative, libparted would read the
larger number of bytes into a buffer of the shorter length,
overrunning it.
libparted: gpt: fix gpt_get_max_supported_partition_count to work
also on little-endian systems.
libparted: treat a disk with no pMBR as an msdos-labeled disk
even when it has valid GPT headers.
partprobe now tells the kernel to forget about any partitions
on a device that has no recognizable partition table.
dos: the range of random MBR signature values was artificially limited
to 0..999999, which mistakenly included 0. Now, we use the full 32-bit
range, but exclude 0.
** Changes in behavior
When attempting to manipulate a mounted partition, parted now issues
a warning that you can choose to ignore, instead of an error.
When creating a loop label, it automatically comes with a partition
using the whole disk.
parted -l no longer lists device-mapper devices other than
dmraid whole disks.
Added new Linux-specific partition GUID type code
(0FC63DAF-8483-4772-8E79-3D69D8477DE4) for Linux filesystem data on GPT
disks. This type code is now assigned as the default partition type code
for new partitions holding Linux filesystems.
Added new "msftdata" flag to identify partitions holding NTFS or FAT
filesystems on GPT disks. This flag corresponds to a GPT type code of
EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 ("Microsoft Basic Data"). Since
Linux filesystem partitions formerly used this type code, this flag may
optionally be set on Linux partitions to make the partition table type
codes match former configurations in case the new Linux filesystem type
code causes problems with some utility. Note that this flag cannot be
removed from NTFS or FAT partitions within parted except by setting a
competing flag, such as "boot" (which sets the type code used by EFI
System partitions) or "msftres" (which sets the "Microsoft Reserved" type
code).
This is to announce parted-3.1, a bug fix release that also reintroduces
a minimal subset of the file system resizing capability that was removed
in 3.0. It adds a new, separate library, libparted-fs-resize, that
provides for resizing of FAT and HFS/HFS+ file systems.
See the NEWS below for a summary of noteworthy changes.
Here is Parted's home page:
http://www.gnu.org/software/parted/
For a summary of all changes and contributors, see:
http://git.debian.org/?p=parted/parted.git;a=shortlog;h=v3.1
or run this command from a git-cloned parted directory:
git shortlog v3.0..v3.1 (appended below)
To summarize the 1500+ gnulib-related changes, run these commands
from a git-cloned parted directory:
git checkout v3.1
git submodule summary v3.0
Here are the compressed sources and a GPG detached signature[*]:
http://ftp.gnu.org/gnu/parted/parted-3.1.tar.xz
http://ftp.gnu.org/gnu/parted/parted-3.1.tar.xz.sig
Use a mirror for higher download bandwidth:
http://ftpmirror.gnu.org/parted/parted-3.1.tar.xz
http://ftpmirror.gnu.org/parted/parted-3.1.tar.xz.sig
[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:
gpg --verify parted-3.1.tar.xz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys 7FD9FCCB000BEEEE
and rerun the 'gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.68b.1-36a2
Automake 1.11a
Gettext 0.18.1
Gnulib v0.0-6913-g50bb21e
Gperf 3.0.4
NEWS
* Noteworthy changes in release 3.1 (2012-03-02) [stable]
** New features
parted now supports up to 64 msdos partitions (was 16). The partition
table format imposes no limit (it's simply a linked list), so we may
raise it further, if needed.
parted has improved support for partitionable loopback devices
parted provides a new library, libparted-fs-resize, for resizing
HFS+ and FAT file systems. This is the subset of the FS-manipulation
functionality removed in parted-3.0 for which we have found no free
alternative. That library provides only these entry points:
ped_file_system_close
ped_file_system_get_resize_constraint
ped_file_system_open
ped_file_system_resize
so when using it you must also link with libparted.
** Bug fixes
libparted: avoid an invalid free when creating many partitions in
a GPT partition table. [bug introduced in parted-1.9.0]
The msdos partition table claimed a maximum partition count of 16
but would allow you to go beyond that. This resulted in the kernel
not being informed of those partitions. Corrected to enforce the
limit.
parted now exits nonzero for certain failures already diagnosed as "Error".
For example, before this change, parted would exit successfully in spite
of "Error: ...unrecognised disk label" and "Error:... both GPT primary
and backup partition tables are corrupted".
libparted: given a GPT table with a partition table array of length, say 9,
(usually, there are at least 128 entries) and when run in interactive mode
with the backup header not at the end of the device where it belongs, parted
would offer to fix it by moving the backup header to the end. If you
accepted, parted could corrupt both headers, truncating their on-disk
PTE arrays. Now, parted handles this case.
libparted: gpt_disk_duplicate now copies the flags over to the new
disk object. Previously the flags would be undefined.
libparted can now read partition tables with a number of partition
array entries that is different from the default of 128. Before,
it would fail to recognize them and could even read beyond the end
of a heap-allocated buffer.
libparted: no longer aborts (failed assertion) due to a nilfs2_probe bug
[bug introduced in parted-2.4 with the addition of nilfs2 support]
libparted: no longer aborts when reading a truncated GPT-formatted device
[bug present at least as far back as RHEL4's parted-1.6.19]
libparted: works with a two-component linux kernel version number like 3.0
[bug present since the beginning]
libparted: strengthen the pc98 test so that it is much less likely to
cause an MSDOS partition table to be mistakenly identified as pc98.
[bug present since the beginning]
libparted no longer gets a failed assertion when probing a partition
with an HFS or HFS+ signature, but with invalid ->total_blocks and/or
->block_size values.
parted now uses ext_range device sysfs attribute to determine maximum number
of partitions the device can hold. With this change, parted now correctly
informs kernel about new partitions on partitionable MD RAID devices.
libparted: creating a new partition table on a device with an existing
mac partition table could result in a failed assertion.
** Changes in behavior
Floppy drives are no longer scanned on linux: they cannot be partitioned
anyhow, and some users have a misconfigured BIOS that claims to have a
floppy when they don't, and scanning gets hung up.
parted: the mkpart command has changed semantics with regard to specifying
the end of the partition. If the end is specified using units of MiB, GiB,
etc., parted subtracts one sector from the specified value. With this
change, it is now possible to create partitions like 1MiB-2MiB, 2MiB-3MiB
and so on.
Device-mapper devices ( LVM, dmraid ) no longer insert a 'p' between the
base device name and the partition number unless the last character of
the base device name is a digit. This brings parted into compliance with
the partition naming of kpartx and "linux since the dawn of time", but
differs from the way that dmraid 1.0.0-rc16-3 operates. A patch to
correct dmraid has been submitted to ataraid-list@redhat.com. Without
this patch, parted and dmraid will both create duplicate partition devices
named /dev/mapper/foo1 and /dev/mapper/foop1.
Add the ability to set the boot flag on the GPT PMBR. This is needed
for some BIOS systems that refuse to boot from GPT unless this is set.
disk_set and disk_toggle commands can be used to set the pmbr_boot
flag on the disk.
The flag is also displayed in a new line, 'Disk Flags:' like this:
Model: (file)
Disk /home/bcl/disk.img: 4295MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: pmbr_boot
Using -m the flags are added after the model name field:
/root/disk.img:4295MB:file:512:512:gpt::pmbr_boot;
** Build-related
"make dist" no longer builds .tar.gz files.
xz is portable enough and in wide-enough use that distributing
only .tar.xz files is enough.
================================================================
Here is a log of the commits since parted-3.0:
Brian C. Lane (14):
libparted: fix snap radius so that it is using half (#665496)
libparted: don't allow values less than 1 (#665496)
tests: add test for radius divide by 2 fix
tests: add test for value less than 1
libparted: make pc98 detection depend on signatures
tests: add tests for new pc98 signatures (#646053)
libparted: copy flags when duplicating GPT partitions
tests: add new test to check ped_disk_duplicate
tests: t9030 wait for partition removal
libparted: HFS/HFS+ probe: don't let a corrupt FS evoke failed assertion
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
Christoph Hellwig (1):
tests: add FS-resize test driver
H. Peter Anvin (1):
libparted: simplify kernel version-parsing logic
Jim Meyering (90):
post-release administrivia
libparted: accommodate two-component linux version number like 3.0
maint: prefer AC_PROG_LIBTOOL over slightly deprecated AM_PROG_LIBTOOL
libparted: avoid invalid diagnostic in interactive mode
gpt: don't abort for a truncated GPT-formatted device
libparted: fix a bug in the nilfs2 probe function
tests: test for the nilfs2 bug
doc: mention the origin of the other two bugs
build: avoid new syntax-check failure
build: update gnulib to latest; adapt use of _GL_ATTRIBUTE_FORMAT
maint: correct two comments in gpt.c
tests: adjust a test to make its failure easier to diagnose
parted: exit nonzero for certain failures already diagnosed as "Error"
gpt: don't misbehave with e.g., a 9-entry partition array
tests: rewrite/complete GPT-munging perl script
tests: exercise the "GPT vs other-sized partition entry arrays" fixes
tests: add a helper function
tests: exercise and document the HFS-probe bug fix
build: stop distributing gzip'd releases; xz is enough
build: update gnulib submodule to latest
maint: adjust the URL that will appear in the generated announcement
build: update gnulib submodule to latest
maint: "make distcheck" now runs the root-only tests
tests: fix test for udevadm
tests: skip a test if Perl's Digest::CRC module is not installed
maint: a little defensive programming in a test script
tests: use "compare exp out", not "compare out exp"
tests: two more of these: use "compare exp out", not "compare out exp"
build: tweak how bootstrap manages ChangeLog
build: avoid new float-to-double warnings
build: mark functions with "const" or "pure" attribute, per gcc warnings
build: configure.ac: use -Wno-format-nonliteral
build: address a new "noreturn" suggestion
build: update gnulib submodule to latest
maint: update all copyright year number ranges
tests: fix a bug in wait_for_dev_to_disappear_ helper function
libparted: remove _blkpg_get_partition
tests: skip loop-partitioning tests when ext_range is < 2
tests: fix misleading mkpart usage
libparted: don't use _GL_ATTRIBUTE_CONST in public parted.h, ...
gpt: eliminate four PED_ASSERT uses
libparted: gpt: a smaller device need not render both headers invalid
build: update to latest from gnulib
build: appease gcc's -Werror=suggest-attribute=pure
build: fix "make distcheck" failure
tests: root-only test would fail to remove its loop device
parted.h: use _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE in VC'd files
maint: rename public .h files to .in.h
build: correct my typo in preceding commit
maint: hoist libparted/fs/*/Makefile.am into parent Makefile.am
build: .gitignore: ignore more
maint: remove "MAINTAINERCLEANFILES = Makefile.in" from Makefile.am's
libparted: provide a new convenience function: ptt_geom_clear_sectors
maint: avoid long-standing warnings from make:
maint: remove useless BUILD_LINUX conditional
build: use LT_INIT, to make bootstrap run libtoolize
build: don't use -version for convenience libraries
build: revert the recent "fix" to avoid make warnings about linux.lo
maint: clean-up preparing for bug fix
libparted: gpt: rewrite even a 9-partition-entry table properly
tests: test for yesterday's bug fix
libparted: gpt: avoid invalid free with many (~100) partitions
tests: exercise today's bug fix, creating a GPT table with 128 entries
tests: create 128 partitions also in the scsi-backed test
libparted: remove ped_realloc, now unused
tests: avoid relatively harmless new "make syntax-check" failure
ui: rewrite disk_print_flags and partition_print_flags
maint: adjust the URL that will appear in the generated announcement
libparted: gpt: avoid heap-read-overrun when rewriting 9-PTE table
tests: set PARTED_TEST_NAME, for valgrind
maint: remove now-unused fat-related functions
lib-fs-resize: re-add HFS and FAT file-system-related code
maint: update copyrights in r/
lib-fs-resize: add wrappers for open,close,resize,get_resize_constraint
lib-fs-resize: rewrite ped_file_system_clobber
maint: remove r/hfs/DOC,HISTORY,TODO; add VERSION for new library
lib-fs-resize: use linker script to expose only selected functions
tests: test FAT and HFS file system resizing
doc: mention HFS+/FAT file system resizing in NEWS
maint: placate syntax-check wrt tests/fs-resize.c
build: avoid non-srcdir build failure
build,test: update gnulib, bootstrap and init.sh
tests: skip failing use of mkfs.hfs unless using newer, fixed version
tests: sanitize PATH; do not discard mkswap output
doc: improve NEWS
libparted: avoid unwarranted failed assertion during mklabel
lib-fs-resize: remove unused probe-related code
maint: update README-release to reflect we now have two libraries
maint: bump library version to 2.0.0
version 3.1
Keshav P R (2):
build: update AC_CONFIG_SRCDIR for non-srcdir-from-clone builds
build: insert -I$(top_builddir)/include before -I$(top_srcdir)/include
Matthew Garrett (1):
gpt: add commands to manipulate pMBR boot flag
Petr Uzel (19):
dvh: factor out read_sector and use ptt_read_sector
libparted: differentiate between plain files and loop devices
libparted: improve support for partitions on loopback devices
tests: add test for partitionable loop devices
libparted: check return value from ped_geometry_init
parted: remove obsolete comments
build: ignore more generated files
libparted: optimize _disk_sync_part_table
libparted: do not call _device_get_partition_range() twice
maint: unmark PedDeviceType as deprecated
libparted: do not omit last sector when creating full-dev geometry
tests: verify that 'udevadm settle' is available
doc: update manpage
parted: make a warning message more informative
parted: mkpart: DWIM for IEC ending sector numbers like 2MiB and 9GiB
tests: exercise the new feature
build: gitignore tests/duplicate
libparted: use ext_range to find out largest possible partition
tests: test for partitions on mdraid
Phillip Susi (9):
Add partition separator only when required
doc: add NEWS entry for "Add partition separator only when required"
tests: try harder to clean up scsi_debug
libparted: linux: exclude floppy from device scan
libparted: remove _loop_get_partition_range
libparted: remove has_partitions check to allow loopback partitions
libparted: avoid the HDIO_GETGEO ioctl when possible
libparted: enforce dos partition limit
libparted: raise dos partition limit from 16 to 64
Richard W.M. Jones (3):
parted: strlist print functions can now send output to any FILE *
parted: write a few errors and warnings to stderr instead of stdout
tests: fix the tests for the case where stdout/stderr is different
Robert Herndon (1):
gpt: prepare for tables with n_partition_array_entries != 128
Stefano Lattarini (2):
tests: TEST_ENVIRONMENT simplified and made more robust
tests: use more portable fd redirection in TESTS_ENVIRONMENT
This is to announce parted-3.0, a release that removes
the deprecated file-system-manipulation capabilities.
See the NEWS below for a summary of noteworthy changes.
Here is Parted's home page:
http://www.gnu.org/software/parted/
For a summary of all changes and contributors, see:
http://git.debian.org/?p=parted/parted.git;a=shortlog;h=v3.0
or run this command from a git-cloned parted directory:
git shortlog v2.4..v3.0
To summarize the gnulib-related changes, run these commands
from a git-cloned parted directory:
git checkout v3.0
git submodule summary v2.4
Here are the compressed sources:
ftp://ftp.gnu.org/gnu/parted/parted-3.0.tar.gz (2.8MB)
ftp://ftp.gnu.org/gnu/parted/parted-3.0.tar.xz (1.4MB)
Here are the GPG detached signatures[*]:
ftp://ftp.gnu.org/gnu/parted/parted-3.0.tar.gz.sig
ftp://ftp.gnu.org/gnu/parted/parted-3.0.tar.xz.sig
To reduce load on the main server, use a mirror listed at:
http://www.gnu.org/order/ftp.html
[*] You can use either of the above signature files to verify that
the corresponding file (without the .sig suffix) is intact. First,
be sure to download both the .sig file and the corresponding tarball.
Then, run a command like this:
gpg --verify parted-3.0.tar.gz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys 000BEEEE
and rerun the `gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.68.68-2105
Automake 1.11a
Gettext 0.18.1
Gnulib v0.0-5386-g3532d15
Gperf 3.0.4
NEWS
* Noteworthy changes in release 3.0 (2011-05-30) [stable]
** Bug fixes
Fix numerous small leaks in both the library and the UI.
** Changes in behavior
Remove all FS-related (file system-related) sub-commands; these commands
are no longer recognized because they were all dependent on parted "knowing"
too much about file system: mkpartfs, mkfs, cp, move, check, resize.
This change removes not just the user interface bits, but also the
library functions and nearly all of the underlying FS-munging code.
The code embedded in Parted by which it knew about those file systems
was so old, unmaintainable and buggy that while seemingly drastic,
this change is like removing a gangrenous toe.
Here is the list of removed functions:
ped_file_system_clobber
ped_file_system_open
ped_file_system_create
ped_file_system_close
ped_file_system_check
ped_file_system_copy
ped_file_system_resize
ped_file_system_get_create_constraint
ped_file_system_get_resize_constraint
ped_file_system_get_copy_constraint
This change also removes the corresponding function members
from "struct _PedFileSystemOps":
clobber open create close check copy resize get_create_constraint
get_resize_constraint get_copy_constraint
This is to announce parted-2.4, a stable bug-fix release.
See the NEWS below for a summary of noteworthy changes.
Here is Parted's home page:
http://www.gnu.org/software/parted/
For a summary of all changes and contributors, see:
http://git.debian.org/?p=parted/parted.git;a=shortlog;h=v2.4
or run this command from a git-cloned parted directory:
git shortlog v2.3..v2.4
To summarize the 1340(!) gnulib-related changes, run these commands
from a git-cloned parted directory:
git checkout v2.4
git submodule summary v2.3
Here are the compressed sources:
ftp://ftp.gnu.org/gnu/parted/parted-2.4.tar.gz (3.1MB)
ftp://ftp.gnu.org/gnu/parted/parted-2.4.tar.xz (1.5MB)
Here are the GPG detached signatures[*]:
ftp://ftp.gnu.org/gnu/parted/parted-2.4.tar.gz.sig
ftp://ftp.gnu.org/gnu/parted/parted-2.4.tar.xz.sig
To reduce load on the main server, use a mirror listed at:
http://www.gnu.org/order/ftp.html
[*] You can use either of the above signature files to verify that
the corresponding file (without the .sig suffix) is intact. First,
be sure to download both the .sig file and the corresponding tarball.
Then, run a command like this:
gpg --verify parted-2.4.tar.gz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys 000BEEEE
and rerun the `gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.68.68-2105
Automake 1.11a
Gettext 0.18.1
Gnulib v0.0-5295-g2c25c9e
Gperf 3.0.4
NEWS
* Noteworthy changes in release 2.4 (2011-05-18) [stable]
** Bug fixes
parted no longer allows the modification of certain in-use partitions.
In particular, before this fix, parted would permit removal or modification
of any in-use partition on a dmraid and any in-use partition beyond the 15th
on a regular scsi disk.
Improve support of DASD devices on the s390 architecture.
Parted now supports all DASD types (CKD and FBA), DASD formats (CDL,
LDL, CMS non-reserved, and CMS reserved), and DASD drivers (ECKD, FBA,
and DIAG) in all combinations supported by the Linux kernel. As before,
only CDL format on CKD DASD using the ECKD driver is supported for
read-write operations (create, delete, move, re-size, etc.). However,
the implicit partition present on LDL- and CMS-formatted disks is now
correctly recognized for read-only operations. In detail:
- parted now correctly handles LDL-format disks with a block
size other than 4096 (bug fix)
- parted now recognizes the CMS disk format, both reserved
and non-reserved (enhancement)
- parted now supports FBA DASD devices (enhancement)
- parted now supports the DIAG driver when running in a
virtual machine under z/VM (enhancement)
libparted: raise the limit on the maximum start sector and the
maximum number of sectors in a "loop" partition table from 2^32 to 2^64.
[bug introduced in parted-2.1]
libparted once again recognizes a whole-disk FAT partition
[bug introduced in parted-1.9.0]
libparted now recognizes scsi disks with a high major (128-135) as scsi
disks
an msdos partition table on a very small device (smaller than one cylinder)
is now recognized. [bug introduced in parted-2.2]
libparted: zero-length devices (other than files) are ignored rather than
throwing an exception.
libparted: gpt label creation can no longer divide by zero with a
defective device or when a concurrent writer modifies the PE-size
bytes in the small interval between the write and subsequent read
of the primary GPT header.
** Changes in behavior
"parted $dev print" now prints information about the device (model, size,
transport, sector size) even when it fails to recognize the disk label.
specifying partition start or end values using MiB, GiB, etc. suffixes
now makes parted do what I want, i.e., use that precise value, and not
some other that is up to 500KiB or 500MiB away from what I specified.
Before, to get that behavior, you would have had to use carefully chosen
values with units of bytes ("B") or sectors ("s") to obtain the same
result, and with sectors, your usage would not be portable between devices
with varying sector sizes. This change does not affect how parted handles
suffixes like KB, MB, GB, etc.
This is to announce parted-2.3, a stable release.
This is mainly a bug-fix release.
Each of the three "feature additions" is small and safe-looking.
Here's its home page:
http://www.gnu.org/software/parted/
Thanks to everyone who has been contributing.
Here are the compressed sources:
ftp://ftp.gnu.org/gnu/parted/parted-2.3.tar.gz (2.9MB)
ftp://ftp.gnu.org/gnu/parted/parted-2.3.tar.xz (1.4MB)
Here are the GPG detached signatures[*]:
ftp://ftp.gnu.org/gnu/parted/parted-2.3.tar.gz.sig
ftp://ftp.gnu.org/gnu/parted/parted-2.3.tar.xz.sig
To reduce load on the main server, use a mirror listed at:
http://www.gnu.org/order/ftp.html
[*] You can use either of the above signature files to verify that
the corresponding file (without the .sig suffix) is intact. First,
be sure to download both the .sig file and the corresponding tarball.
Then, run a command like this:
gpg --verify parted-2.3.tar.gz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys B9AB9A16
and rerun the `gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.65.70-64f8f
Automake 1.11a
Gettext 0.18
Gnulib v0.0-3955-g8ab5996
Gperf 3.0.3
./NEWS
* Noteworthy changes in release 2.3 (2010-05-28) [stable]
** New features
parted now recognizes ATA over Ethernet (AoE) devices
parted now recognizes Linux Software RAID Arrays
libparted has a new partition flag to check for diagnostic (aka recovery
or reserved) partitions: PED_PARTITION_DIAG
** Bug fixes
When libparted deferenced a /dev/mapper/foo symlink, it would keep the
resulting /dev/dm-N name and sometimes use it later, even though it
had since become stale and invalid. It no longer stores the result
of dereferencing a /dev/mapper symlink.
libparted's msdos_partition_is_flag_available function now always reports
that the "hidden" flag is not available for an extended partition.
Similarly, msdos_partition_get_flag(p,PED_PARTITION_HIDDEN) always returns 0
for an extended partition.
libparted uses a more accurate heuristic to distinguish between
ext4 and ext3 partitions.
libparted now properly checks the return value of dm_task_run when
operating on devicemapper devices.
allow using ped_device_cache_remove(dev) followed by a (later)
ped_device_destroy() without corrupting the device cache.
when creating an ext2 file system[*], Parted no longer creates an
invalid one when its size is 2TiB or larger.
[*] Remember, now all FS-creation operations are deprecated in Parted.
This is not an indicator that we'll be supporting this code.
On the contrary, it is slated to be removed.
** Changes in behavior
libparted no longer issues an exception/warning about >512-byte
sector support being "HIGHLY EXPERIMENTAL". It seems to have matured
enough to be usable at least with GPT and MSDOS partition tables.
This is to announce parted-2.2, a stable release.
Here's its soon-to-be-updated home page:
http://www.gnu.org/software/parted/
Thanks to everyone else who has been contributing, helping to manage
the mailing list and reporting bugs.
For a summary of changes and contributors, see:
http://git.debian.org/?p=parted/parted.git;a=shortlog;h=v2.2
or run this command from a git-cloned parted directory:
git shortlog v2.1..v2.2
To summarize the gnulib-related changes, run these commands from a
git-cloned parted directory:
git checkout v2.1
git submodule summary v2.2
Here are the compressed sources:
ftp://ftp.gnu.org/gnu/parted/parted-2.2.tar.gz (2.8MB)
ftp://ftp.gnu.org/gnu/parted/parted-2.2.tar.xz (1.4MB)
Here are the GPG detached signatures[*]:
ftp://ftp.gnu.org/gnu/parted/parted-2.2.tar.gz.sig
ftp://ftp.gnu.org/gnu/parted/parted-2.2.tar.xz.sig
To reduce load on the main server, use a mirror listed at:
http://www.gnu.org/order/ftp.html
[*] You can use either of the above signature files to verify that
the corresponding file (without the .sig suffix) is intact. First,
be sure to download both the .sig file and the corresponding tarball.
Then, run a command like this:
gpg --verify parted-2.2.tar.gz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys B9AB9A16
and rerun the `gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.65.36-64dee
Automake 1.11a
Gnulib v0.0-3479-g80cd995
Gperf 3.0.3
./NEWS
* Noteworthy changes in release 2.2 (2010-02-26) [stable]
** Changes in behavior
The default alignment (--align option) for newly created partitions has
been changed to optimal.
** New features
The ped_device_get_*_alignment() functions now return a sane default
value instead of NULL when the so called topology information is incomplete.
The default minimum alignment aligns to physical sector size, the default
optimal alignment is 1MiB, which is what vista and windows 7 do.
** Bug fixes
Parted no longer uses a physical sector size of 0 or of any other
value smaller than the logical sector size.
dos: creating an HFS or HFS+ partition in an msdos partition table
used to set the partition type to 0x83. That is wrong. The required
number is 0xaf, and that is what is used now.
gpt: read-only operation could clobber MBR part of hybrid GPT+MBR table
[bug introduced in parted-2.1]
gpt: a read-only operation like "parted $dev print" would overwrite $dev's
protective MBR when exactly one of the primary and backup GPT tables was
found to be corrupt.
[bug introduced prior to parted-1.8.0]
sun: the version, sanity and nparts VTOC fields were ignored by libparted.
Those fields are properly initialized now. The nparts (number of partitions)
field is initialized to 8 (max. number of sun partitions) rather that to a
real number of partitions. This solution is compatible with Linux kernel
and Linux fdisk.
"make install" no longer installs tests programs named disk and label
libparted: try harder to inform kernel of partition changes.
Previously when editing partitions, occasionally the kernel would
fail to be informed of partition changes. When this happened future
problems would occur because the kernel had incorrect information.
For example, if this problem arose when resizing or creating a
new partition, then an incorrect partition size might be displayed
or a user might encounter a failure to format or delete a newly
created partition, respectively.
libparted: committing a disk that was returned by ped_disk_duplicate
would always result in ped_disk_clobber being called (and thus the first
and last 9KiB of the disk being zeroed), even if the duplicated disk,
was not returned by ped_disk_fresh().
The announcement is here:
http://article.gmane.org/gmane.comp.gnu.parted.bugs/9863