forked from pool/parted
This commit is contained in:
parent
4819a70717
commit
87f5c0a8da
248
2TB_size_overflow.diff
Normal file
248
2TB_size_overflow.diff
Normal file
@ -0,0 +1,248 @@
|
|||||||
|
--- a/libparted/disk.c
|
||||||
|
+++ b/libparted/disk.c
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
/*
|
||||||
|
libparted - a library for manipulating disk partitions
|
||||||
|
- Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2007
|
||||||
|
+ Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2007, 2008
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
@@ -1735,6 +1735,45 @@ _check_partition (PedDisk* disk, PedPartition* part)
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ if (!(part->type & PED_PARTITION_METADATA)
|
||||||
|
+ && strcmp (disk->type->name, "msdos") == 0) {
|
||||||
|
+ /* Enforce some restrictions inherent in the DOS
|
||||||
|
+ partition table format. Without these, one would be able
|
||||||
|
+ to create a 2TB partition (or larger), and it would work,
|
||||||
|
+ but only until the next reboot. This was insidious: the
|
||||||
|
+ too-large partition would work initially, because with
|
||||||
|
+ Linux-2.4.x and newer we set the partition start sector
|
||||||
|
+ and length (in sectors) accurately and directly via the
|
||||||
|
+ BLKPG ioctl. However, only the last 32 bits of each
|
||||||
|
+ number would be written to the partition table, and the
|
||||||
|
+ next time the system would read/use those corrupted numbers
|
||||||
|
+ it would usually complain about an invalid partition.
|
||||||
|
+ The same applies to the starting sector number. */
|
||||||
|
+
|
||||||
|
+ /* The partition length, in sectors, must fit in 32 bytes. */
|
||||||
|
+ if (part->geom.length > UINT32_MAX) {
|
||||||
|
+ ped_exception_throw (
|
||||||
|
+ PED_EXCEPTION_ERROR,
|
||||||
|
+ PED_EXCEPTION_CANCEL,
|
||||||
|
+ _("partition length of %jd sectors exceeds"
|
||||||
|
+ " the DOS-partition-table-imposed maximum"
|
||||||
|
+ " of 2^32-1"),
|
||||||
|
+ part->geom.length);
|
||||||
|
+ return 0;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ /* The starting sector number must fit in 32 bytes. */
|
||||||
|
+ if (part->geom.start > UINT32_MAX) {
|
||||||
|
+ ped_exception_throw (
|
||||||
|
+ PED_EXCEPTION_ERROR,
|
||||||
|
+ PED_EXCEPTION_CANCEL,
|
||||||
|
+ _("starting sector number, %jd exceeds"
|
||||||
|
+ " the DOS-partition-table-imposed maximum"
|
||||||
|
+ " of 2^32-1"), part->geom.start);
|
||||||
|
+ return 0;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||||
|
index 3a3020e..b9cd205 100644
|
||||||
|
--- a/tests/Makefile.am
|
||||||
|
+++ b/tests/Makefile.am
|
||||||
|
@@ -7,7 +7,8 @@ TESTS = \
|
||||||
|
t2000-mkfs.sh \
|
||||||
|
t2100-mkswap.sh \
|
||||||
|
t3000-constraints.sh \
|
||||||
|
- t3100-resize-ext2-partion.sh
|
||||||
|
+ t3100-resize-ext2-partion.sh \
|
||||||
|
+ t4100-msdos-partition-limits.sh
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
$(TESTS) test-lib.sh mkdtemp
|
||||||
|
diff --git a/tests/t4100-msdos-partition-limits.sh b/tests/t4100-msdos-partition-limits.sh
|
||||||
|
new file mode 100755
|
||||||
|
index 0000000..13e32af
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/t4100-msdos-partition-limits.sh
|
||||||
|
@@ -0,0 +1,169 @@
|
||||||
|
+#!/bin/sh
|
||||||
|
+
|
||||||
|
+# Copyright (C) 2008 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
|
||||||
|
+# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
+# (at your option) any later version.
|
||||||
|
+
|
||||||
|
+# This program is distributed in the hope that it will be useful,
|
||||||
|
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
+# GNU General Public License for more details.
|
||||||
|
+
|
||||||
|
+# You should have received a copy of the GNU General Public License
|
||||||
|
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
+
|
||||||
|
+test_description='msdos: enforce limits on partition start sector and length'
|
||||||
|
+
|
||||||
|
+# Need root privileges to use mount.
|
||||||
|
+privileges_required_=1
|
||||||
|
+
|
||||||
|
+. ./init.sh
|
||||||
|
+
|
||||||
|
+####################################################
|
||||||
|
+# Create and mount a file system capable of dealing with >=2TB files.
|
||||||
|
+# We must be able to create a file with an apparent length of 2TB or larger.
|
||||||
|
+# It needn't be a large file system.
|
||||||
|
+fs=fs_file
|
||||||
|
+mp=`pwd`/mount-point
|
||||||
|
+n=128
|
||||||
|
+
|
||||||
|
+test_expect_success \
|
||||||
|
+ 'create an XFS file system' \
|
||||||
|
+ '
|
||||||
|
+ dd if=/dev/zero of=$fs bs=1MB count=2 seek=20 &&
|
||||||
|
+ mkfs.xfs -q $fs &&
|
||||||
|
+ mkdir "$mp"
|
||||||
|
+
|
||||||
|
+ '
|
||||||
|
+
|
||||||
|
+# Unmount upon interrupt, failure, etc., as well as upon normal completion.
|
||||||
|
+cleanup_() { cd "$test_dir_" && umount "$mp" > /dev/null 2>&1; }
|
||||||
|
+
|
||||||
|
+test_expect_success \
|
||||||
|
+ 'mount it' \
|
||||||
|
+ '
|
||||||
|
+ mount -o loop $fs "$mp" &&
|
||||||
|
+ cd "$mp"
|
||||||
|
+
|
||||||
|
+ '
|
||||||
|
+dev=loop-file
|
||||||
|
+
|
||||||
|
+do_mkpart()
|
||||||
|
+{
|
||||||
|
+ start_sector=$1
|
||||||
|
+ end_sector=$2
|
||||||
|
+ # echo '********' $(echo $end_sector - $start_sector + 1 |bc)
|
||||||
|
+ dd if=/dev/zero of=$dev bs=1b count=2k seek=$end_sector 2> /dev/null &&
|
||||||
|
+ parted -s $dev mklabel msdos &&
|
||||||
|
+ parted -s $dev mkpart p xfs ${start_sector}s ${end_sector}s
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+# Specify the starting sector number and length in sectors,
|
||||||
|
+# rather than start and end.
|
||||||
|
+do_mkpart_start_and_len()
|
||||||
|
+{
|
||||||
|
+ start_sector=$1
|
||||||
|
+ len=$2
|
||||||
|
+ end_sector=$(echo $start_sector + $len - 1|bc)
|
||||||
|
+ do_mkpart $start_sector $end_sector
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+test_expect_success \
|
||||||
|
+ 'a partition length of 2^32-1 works.' \
|
||||||
|
+ '
|
||||||
|
+ end=$(echo $n+2^32-2|bc) &&
|
||||||
|
+ do_mkpart $n $end
|
||||||
|
+ '
|
||||||
|
+
|
||||||
|
+cat > exp <<EOF
|
||||||
|
+Model: (file)
|
||||||
|
+Disk: 4294969470s
|
||||||
|
+Sector size (logical/physical): 512B/512B
|
||||||
|
+Partition Table: msdos
|
||||||
|
+
|
||||||
|
+Number Start End Size Type File system Flags
|
||||||
|
+ 1 ${n}s ${end}s 4294967295s primary
|
||||||
|
+
|
||||||
|
+EOF
|
||||||
|
+
|
||||||
|
+test_expect_success \
|
||||||
|
+ 'print the result' \
|
||||||
|
+ 'parted -s $dev unit s p > out 2>&1 &&
|
||||||
|
+ sed "s/Disk .*:/Disk:/;s/ *$//" out > k && mv k out &&
|
||||||
|
+ diff -u out exp
|
||||||
|
+ '
|
||||||
|
+
|
||||||
|
+test_expect_failure \
|
||||||
|
+ 'a partition length of exactly 2^32 sectors provokes failure.' \
|
||||||
|
+ 'do_mkpart $n $(echo $n+2^32-1|bc) > err 2>&1'
|
||||||
|
+
|
||||||
|
+msg='Error: partition length of 4294967296 sectors exceeds the '\
|
||||||
|
+'DOS-partition-table-imposed maximum of 2^32-1'
|
||||||
|
+test_expect_success \
|
||||||
|
+ 'check for new diagnostic' \
|
||||||
|
+ 'echo "$msg" > exp && diff -u err exp'
|
||||||
|
+
|
||||||
|
+# FIXME: investigate this.
|
||||||
|
+# Unexpectedly to me, both of these failed with this same diagnostic:
|
||||||
|
+#
|
||||||
|
+# Error: partition length of 4294967296 sectors exceeds the \
|
||||||
|
+# DOS-partition-table-imposed maximum of 2^32-1" > exp &&
|
||||||
|
+#
|
||||||
|
+# I expected the one below to fail with a length of _4294967297_.
|
||||||
|
+# Debugging, I see that _check_partition *does* detect this,
|
||||||
|
+# but the diagnostic doesn't get displayed because of the wonders
|
||||||
|
+# of parted's exception mechanism.
|
||||||
|
+
|
||||||
|
+test_expect_failure \
|
||||||
|
+ 'a partition length of 2^32+1 sectors provokes failure.' \
|
||||||
|
+ 'do_mkpart $n $(echo $n+2^32|bc) > err 2>&1'
|
||||||
|
+
|
||||||
|
+test_expect_success \
|
||||||
|
+ 'check for new diagnostic' \
|
||||||
|
+ 'echo "$msg" > exp && diff -u err exp'
|
||||||
|
+
|
||||||
|
+# =========================================================
|
||||||
|
+# Now consider partition starting sector numbers.
|
||||||
|
+msg='Error: starting sector number, 4294967296 exceeds the '\
|
||||||
|
+'DOS-partition-table-imposed maximum of 2^32-1'
|
||||||
|
+
|
||||||
|
+test_expect_success \
|
||||||
|
+ 'a partition start sector number of 2^32-1 works.' \
|
||||||
|
+ 'do_mkpart_start_and_len $(echo 2^32-1|bc) 1000'
|
||||||
|
+
|
||||||
|
+cat > exp <<EOF
|
||||||
|
+Model: (file)
|
||||||
|
+Disk: 4294970342s
|
||||||
|
+Sector size (logical/physical): 512B/512B
|
||||||
|
+Partition Table: msdos
|
||||||
|
+
|
||||||
|
+Number Start End Size Type File system Flags
|
||||||
|
+ 1 4294967295s 4294968294s 1000s primary
|
||||||
|
+
|
||||||
|
+EOF
|
||||||
|
+
|
||||||
|
+test_expect_success \
|
||||||
|
+ 'print the result' \
|
||||||
|
+ 'parted -s $dev unit s p > out 2>&1 &&
|
||||||
|
+ sed "s/Disk .*:/Disk:/;s/ *$//" out > k && mv k out &&
|
||||||
|
+ diff -u out exp
|
||||||
|
+ '
|
||||||
|
+
|
||||||
|
+test_expect_failure \
|
||||||
|
+ 'a partition start sector number of 2^32 must fail.' \
|
||||||
|
+ 'do_mkpart_start_and_len $(echo 2^32|bc) 1000 > err 2>&1'
|
||||||
|
+test_expect_success \
|
||||||
|
+ 'check for new diagnostic' \
|
||||||
|
+ 'echo "$msg" > exp && diff -u err exp'
|
||||||
|
+
|
||||||
|
+test_expect_failure \
|
||||||
|
+ 'a partition start sector number of 2^32+1 must fail, too.' \
|
||||||
|
+ 'do_mkpart_start_and_len $(echo 2^32+1|bc) 1000 > err 2>&1'
|
||||||
|
+test_expect_success \
|
||||||
|
+ 'check for new diagnostic' \
|
||||||
|
+ 'echo "$msg" > exp && diff -u err exp'
|
||||||
|
+
|
||||||
|
+test_done
|
||||||
|
--
|
||||||
|
1.5.4.rc2.85.g71fd
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 15 12:12:17 CET 2008 - fehr@suse.de
|
||||||
|
|
||||||
|
- Add patch 2TB_size_overflow.diff developed by Jim Meyering
|
||||||
|
<meyering@redhat.com> to properly handle cases of overflow over
|
||||||
|
2TB limit in msdos label (#352484)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 13 15:07:28 CEST 2007 - fehr@suse.de
|
Mon Aug 13 15:07:28 CEST 2007 - fehr@suse.de
|
||||||
|
|
||||||
|
194
parted.spec
194
parted.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package parted (Version 1.8.8)
|
# spec file for package parted (Version 1.8.8)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -17,7 +17,7 @@ License: GPL v2 or later
|
|||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Summary: GNU partitioner
|
Summary: GNU partitioner
|
||||||
Version: 1.8.8
|
Version: 1.8.8
|
||||||
Release: 1
|
Release: 8
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Patch: always-resize-part.dif
|
Patch: always-resize-part.dif
|
||||||
Patch1: parted-type.patch
|
Patch1: parted-type.patch
|
||||||
@ -28,6 +28,7 @@ Patch6: etherd_support.diff
|
|||||||
Patch7: parted-1.8.3.dif
|
Patch7: parted-1.8.3.dif
|
||||||
Patch8: fat16_hfs_fix.dif
|
Patch8: fat16_hfs_fix.dif
|
||||||
Patch9: always_print_geom.diff
|
Patch9: always_print_geom.diff
|
||||||
|
Patch10: 2TB_size_overflow.diff
|
||||||
Patch51: parted.tty.patch
|
Patch51: parted.tty.patch
|
||||||
Patch52: parted.no-O_DIRECT.patch
|
Patch52: parted.no-O_DIRECT.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -75,6 +76,7 @@ Authors:
|
|||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch9
|
%patch9
|
||||||
|
%patch10 -p1
|
||||||
%patch51 -p1
|
%patch51 -p1
|
||||||
%patch52 -p1
|
%patch52 -p1
|
||||||
|
|
||||||
@ -124,7 +126,11 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 13 2007 - fehr@suse.de
|
* Tue Jan 15 2008 fehr@suse.de
|
||||||
|
- Add patch 2TB_size_overflow.diff developed by Jim Meyering
|
||||||
|
<meyering@redhat.com> to properly handle cases of overflow over
|
||||||
|
2TB limit in msdos label (#352484)
|
||||||
|
* Mon Aug 13 2007 fehr@suse.de
|
||||||
- Update to new version 1.8.8
|
- Update to new version 1.8.8
|
||||||
Properly detect 'ext2 fs too small' cases.
|
Properly detect 'ext2 fs too small' cases.
|
||||||
Read an msdos partition table from a device with 2K sectors.
|
Read an msdos partition table from a device with 2K sectors.
|
||||||
@ -134,34 +140,34 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
Fixed exception handling in mkpart and mkpartfs commands.
|
Fixed exception handling in mkpart and mkpartfs commands.
|
||||||
Fix invalid command line argument handling.
|
Fix invalid command line argument handling.
|
||||||
Close memory leaks in parted.c and table.c.
|
Close memory leaks in parted.c and table.c.
|
||||||
* Fri Jul 13 2007 - olh@suse.de
|
* Fri Jul 13 2007 olh@suse.de
|
||||||
- do not open with O_DIRECT (#290087)
|
- do not open with O_DIRECT (#290087)
|
||||||
* Thu Jul 05 2007 - sassmann@suse.de
|
* Thu Jul 05 2007 sassmann@suse.de
|
||||||
- fix parted to generate parseable output (#289049)
|
- fix parted to generate parseable output (#289049)
|
||||||
added check to test if tty is availabe, if no tty is available
|
added check to test if tty is availabe, if no tty is available
|
||||||
readline functions are omitted
|
readline functions are omitted
|
||||||
* Thu Jun 21 2007 - adrian@suse.de
|
* Thu Jun 21 2007 adrian@suse.de
|
||||||
- fix changelog entry order
|
- fix changelog entry order
|
||||||
* Sun May 13 2007 - olh@suse.de
|
* Sun May 13 2007 olh@suse.de
|
||||||
- restore mkpart linux-swap syntax (#274080)
|
- restore mkpart linux-swap syntax (#274080)
|
||||||
* Thu May 10 2007 - fehr@suse.de
|
* Thu May 10 2007 fehr@suse.de
|
||||||
- Update to new version 1.8.7
|
- Update to new version 1.8.7
|
||||||
Fix primary partition cylinder alignment error for DOS disk labels
|
Fix primary partition cylinder alignment error for DOS disk labels
|
||||||
Avoid segfault due to a double free on reiserfs support
|
Avoid segfault due to a double free on reiserfs support
|
||||||
Fix script mode (-s) for mkfs command in parted
|
Fix script mode (-s) for mkfs command in parted
|
||||||
Fix off-by-one bug in parted when displaying information about the disk
|
Fix off-by-one bug in parted when displaying information about the disk
|
||||||
* Wed May 02 2007 - olh@suse.de
|
* Wed May 02 2007 olh@suse.de
|
||||||
- remove unused check-devel from buildrequires to allow build in sles10
|
- remove unused check-devel from buildrequires to allow build in sles10
|
||||||
* Tue Mar 27 2007 - sbrabec@suse.cz
|
* Tue Mar 27 2007 sbrabec@suse.cz
|
||||||
- Require check-devel.
|
- Require check-devel.
|
||||||
* Thu Mar 22 2007 - fehr@suse.de
|
* Thu Mar 22 2007 fehr@suse.de
|
||||||
- Update to new version 1.8.6
|
- Update to new version 1.8.6
|
||||||
Revert the implementation of the linux-swap(new) and linux-swap(old) types.
|
Revert the implementation of the linux-swap(new) and linux-swap(old) types.
|
||||||
- Update to new version 1.8.5
|
- Update to new version 1.8.5
|
||||||
Add po translations
|
Add po translations
|
||||||
- Update to new version 1.8.4
|
- Update to new version 1.8.4
|
||||||
Minor bug fix release for 1.8.3 to fix build issues on various platforms
|
Minor bug fix release for 1.8.3 to fix build issues on various platforms
|
||||||
* Mon Mar 19 2007 - fehr@suse.de
|
* Mon Mar 19 2007 fehr@suse.de
|
||||||
- Update to new version 1.8.3
|
- Update to new version 1.8.3
|
||||||
libparted:
|
libparted:
|
||||||
- Sync the linux-swap header according to the Linux kernel sources.
|
- Sync the linux-swap header according to the Linux kernel sources.
|
||||||
@ -177,11 +183,11 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
- Detect/report stdout write errors.
|
- Detect/report stdout write errors.
|
||||||
- Accept the --version and --help options.
|
- Accept the --version and --help options.
|
||||||
- Fix memory leaks in parted(8).
|
- Fix memory leaks in parted(8).
|
||||||
* Wed Mar 07 2007 - fehr@suse.de
|
* Wed Mar 07 2007 fehr@suse.de
|
||||||
- make resize of ext2/3 under YaST2 work again (#249674)
|
- make resize of ext2/3 under YaST2 work again (#249674)
|
||||||
* Tue Feb 20 2007 - fehr@suse.de
|
* Tue Feb 20 2007 fehr@suse.de
|
||||||
- make mklabel in scripted mode work again
|
- make mklabel in scripted mode work again
|
||||||
* Mon Jan 15 2007 - fehr@suse.de
|
* Mon Jan 15 2007 fehr@suse.de
|
||||||
- Update to new version 1.8.2
|
- Update to new version 1.8.2
|
||||||
libparted:
|
libparted:
|
||||||
- Add the ped_device_cache_remove() function to remove a device from the
|
- Add the ped_device_cache_remove() function to remove a device from the
|
||||||
@ -199,7 +205,7 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
- Implement 'print devices' command.
|
- Implement 'print devices' command.
|
||||||
- Alias 'print list' to 'print all'.
|
- Alias 'print list' to 'print all'.
|
||||||
- Alias 'mktable' to 'mklabel'.
|
- Alias 'mktable' to 'mklabel'.
|
||||||
* Tue Dec 05 2006 - fehr@suse.de
|
* Tue Dec 05 2006 fehr@suse.de
|
||||||
- Update to new version 1.8.1
|
- Update to new version 1.8.1
|
||||||
libparted
|
libparted
|
||||||
Rework backtrace support
|
Rework backtrace support
|
||||||
@ -219,19 +225,19 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
Introduce the -list command-line switch.
|
Introduce the -list command-line switch.
|
||||||
Warn before mklabel and mkfs.
|
Warn before mklabel and mkfs.
|
||||||
Proper print when there are no extended partitions, but partition names.
|
Proper print when there are no extended partitions, but partition names.
|
||||||
* Tue Nov 07 2006 - ro@suse.de
|
* Tue Nov 07 2006 ro@suse.de
|
||||||
- fix manpage permissions
|
- fix manpage permissions
|
||||||
* Fri Jul 21 2006 - olh@suse.de
|
* Fri Jul 21 2006 olh@suse.de
|
||||||
- keep kernel interface to extended partition on Linux
|
- keep kernel interface to extended partition on Linux
|
||||||
* Tue Jul 18 2006 - olh@suse.de
|
* Tue Jul 18 2006 olh@suse.de
|
||||||
- build with make -j
|
- build with make -j
|
||||||
add parted-mac_data-init.patch
|
add parted-mac_data-init.patch
|
||||||
add parted-mac-set-type-corruption.patch (#192082)
|
add parted-mac-set-type-corruption.patch (#192082)
|
||||||
* Mon May 29 2006 - fehr@suse.de
|
* Mon May 29 2006 fehr@suse.de
|
||||||
- Update to new version 1.7.1
|
- Update to new version 1.7.1
|
||||||
libparted: bug fixes related to linking, HFS, ext2, the Mac disk label
|
libparted: bug fixes related to linking, HFS, ext2, the Mac disk label
|
||||||
parted: signal handling bug fix
|
parted: signal handling bug fix
|
||||||
* Thu May 18 2006 - fehr@suse.de
|
* Thu May 18 2006 fehr@suse.de
|
||||||
- Update to new version 1.7.0
|
- Update to new version 1.7.0
|
||||||
libparted:
|
libparted:
|
||||||
* support for Apple GUIDs to GPT code
|
* support for Apple GUIDs to GPT code
|
||||||
@ -250,177 +256,177 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
manual:
|
manual:
|
||||||
* cut down substantially.
|
* cut down substantially.
|
||||||
Lots of general content will be moved to the GNU Storage Guide.
|
Lots of general content will be moved to the GNU Storage Guide.
|
||||||
* Tue Apr 25 2006 - fehr@suse.de
|
* Tue Apr 25 2006 fehr@suse.de
|
||||||
- Update to new version 1.7.0rc5
|
- Update to new version 1.7.0rc5
|
||||||
* Mon Mar 06 2006 - schwab@suse.de
|
* Mon Mar 06 2006 schwab@suse.de
|
||||||
- Fix format string.
|
- Fix format string.
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Tue Dec 06 2005 - fehr@suse.de
|
* Tue Dec 06 2005 fehr@suse.de
|
||||||
- update to new version 1.6.25.1
|
- update to new version 1.6.25.1
|
||||||
* Wed Nov 09 2005 - fehr@suse.de
|
* Wed Nov 09 2005 fehr@suse.de
|
||||||
- update to new version 1.6.25
|
- update to new version 1.6.25
|
||||||
- make parted correctly refuse to resize inconsistent fat
|
- make parted correctly refuse to resize inconsistent fat
|
||||||
filesystems even if env var YAST_IS_RUNNING is set (#132967)
|
filesystems even if env var YAST_IS_RUNNING is set (#132967)
|
||||||
* Thu Sep 08 2005 - fehr@suse.de
|
* Thu Sep 08 2005 fehr@suse.de
|
||||||
- fix wrong permissions of brazilian man page (#114849)
|
- fix wrong permissions of brazilian man page (#114849)
|
||||||
* Mon Aug 15 2005 - fehr@suse.de
|
* Mon Aug 15 2005 fehr@suse.de
|
||||||
- update to new version 1.6.24
|
- update to new version 1.6.24
|
||||||
* Wed Aug 03 2005 - fehr@suse.de
|
* Wed Aug 03 2005 fehr@suse.de
|
||||||
- make parted print BIOS geometry also if no disk label is present
|
- make parted print BIOS geometry also if no disk label is present
|
||||||
(#100444)
|
(#100444)
|
||||||
* Thu Jul 28 2005 - fehr@suse.de
|
* Thu Jul 28 2005 fehr@suse.de
|
||||||
- update to new version 1.6.23
|
- update to new version 1.6.23
|
||||||
* Tue Jul 19 2005 - pkirsch@suse.de
|
* Tue Jul 19 2005 pkirsch@suse.de
|
||||||
- fix fat16 minimum requirements
|
- fix fat16 minimum requirements
|
||||||
- fix mac partition handling
|
- fix mac partition handling
|
||||||
* Thu Apr 07 2005 - fehr@suse.de
|
* Thu Apr 07 2005 fehr@suse.de
|
||||||
- update to new version 1.6.22
|
- update to new version 1.6.22
|
||||||
* Wed Mar 16 2005 - fehr@suse.de
|
* Wed Mar 16 2005 fehr@suse.de
|
||||||
- prevent shifted start sect when resizing with unknown fs (#73008)
|
- prevent shifted start sect when resizing with unknown fs (#73008)
|
||||||
* Mon Jan 17 2005 - fehr@suse.de
|
* Mon Jan 17 2005 fehr@suse.de
|
||||||
- fix typo in input_sector.patch
|
- fix typo in input_sector.patch
|
||||||
- update to new version 1.6.21
|
- update to new version 1.6.21
|
||||||
* Thu Jan 13 2005 - fehr@suse.de
|
* Thu Jan 13 2005 fehr@suse.de
|
||||||
- allow creation of partitions by exact sector number (#49276)
|
- allow creation of partitions by exact sector number (#49276)
|
||||||
* Tue Jan 11 2005 - fehr@suse.de
|
* Tue Jan 11 2005 fehr@suse.de
|
||||||
- update to new version 1.6.20
|
- update to new version 1.6.20
|
||||||
* Mon Nov 29 2004 - fehr@suse.de
|
* Mon Nov 29 2004 fehr@suse.de
|
||||||
- update to new version 1.6.19
|
- update to new version 1.6.19
|
||||||
- add reiserfs to needforbuild
|
- add reiserfs to needforbuild
|
||||||
* Mon Nov 22 2004 - fehr@suse.de
|
* Mon Nov 22 2004 fehr@suse.de
|
||||||
- update to new version 1.6.18
|
- update to new version 1.6.18
|
||||||
* Mon Nov 08 2004 - fehr@suse.de
|
* Mon Nov 08 2004 fehr@suse.de
|
||||||
- update to new version 1.6.16
|
- update to new version 1.6.16
|
||||||
* Tue Oct 26 2004 - fehr@suse.de
|
* Tue Oct 26 2004 fehr@suse.de
|
||||||
- add patch by SGI for documentation of dvh-disklabel (#47611)
|
- add patch by SGI for documentation of dvh-disklabel (#47611)
|
||||||
* Wed Sep 29 2004 - fehr@suse.de
|
* Wed Sep 29 2004 fehr@suse.de
|
||||||
- add support for ATA over ethernet
|
- add support for ATA over ethernet
|
||||||
- add support for partitioning device-mapper devices (for dmraid)
|
- add support for partitioning device-mapper devices (for dmraid)
|
||||||
* Mon Sep 20 2004 - fehr@suse.de
|
* Mon Sep 20 2004 fehr@suse.de
|
||||||
- update to new version 1.6.15
|
- update to new version 1.6.15
|
||||||
* Thu Sep 16 2004 - fehr@suse.de
|
* Thu Sep 16 2004 fehr@suse.de
|
||||||
- greatly simplify always-resize-part.dif by using
|
- greatly simplify always-resize-part.dif by using
|
||||||
ped_constraint_exact
|
ped_constraint_exact
|
||||||
* Wed Sep 15 2004 - fehr@suse.de
|
* Wed Sep 15 2004 fehr@suse.de
|
||||||
- prevent unwanted modifying of partition start and end due to
|
- prevent unwanted modifying of partition start and end due to
|
||||||
alignment constraints during resize (#45013, #44699)
|
alignment constraints during resize (#45013, #44699)
|
||||||
* Mon Sep 06 2004 - fehr@suse.de
|
* Mon Sep 06 2004 fehr@suse.de
|
||||||
- update to new version 1.6.14
|
- update to new version 1.6.14
|
||||||
* Mon Sep 06 2004 - fehr@suse.de
|
* Mon Sep 06 2004 fehr@suse.de
|
||||||
- update to new version 1.6.13
|
- update to new version 1.6.13
|
||||||
* Mon Aug 16 2004 - fehr@suse.de
|
* Mon Aug 16 2004 fehr@suse.de
|
||||||
- update to new version 1.6.12
|
- update to new version 1.6.12
|
||||||
* Mon Apr 26 2004 - fehr@suse.de
|
* Mon Apr 26 2004 fehr@suse.de
|
||||||
- update to new version 1.6.11
|
- update to new version 1.6.11
|
||||||
* Wed Mar 31 2004 - meissner@suse.de
|
* Wed Mar 31 2004 meissner@suse.de
|
||||||
- Detect viodasd virtual disks on iSeries. #37521
|
- Detect viodasd virtual disks on iSeries. #37521
|
||||||
* Sat Jan 10 2004 - adrian@suse.de
|
* Sat Jan 10 2004 adrian@suse.de
|
||||||
- add %%run_ldconfig
|
- add %%run_ldconfig
|
||||||
* Mon Oct 20 2003 - fehr@suse.de
|
* Mon Oct 20 2003 fehr@suse.de
|
||||||
- fix printing of partitions larger than 1TB in size (#32319)
|
- fix printing of partitions larger than 1TB in size (#32319)
|
||||||
* Fri Sep 12 2003 - fehr@suse.de
|
* Fri Sep 12 2003 fehr@suse.de
|
||||||
- extend parted to handle User-mode virtual block devices (#30375)
|
- extend parted to handle User-mode virtual block devices (#30375)
|
||||||
* Mon Sep 08 2003 - fehr@suse.de
|
* Mon Sep 08 2003 fehr@suse.de
|
||||||
- do not warning about too new GPT version if running under YaST2
|
- do not warning about too new GPT version if running under YaST2
|
||||||
and too new version is 0x00010200 (#29563)
|
and too new version is 0x00010200 (#29563)
|
||||||
* Mon Jul 28 2003 - fehr@suse.de
|
* Mon Jul 28 2003 fehr@suse.de
|
||||||
- update to new version 1.6.6
|
- update to new version 1.6.6
|
||||||
* Thu Jun 19 2003 - ro@suse.de
|
* Thu Jun 19 2003 ro@suse.de
|
||||||
- build with current gettext
|
- build with current gettext
|
||||||
* Thu Jun 12 2003 - fehr@suse.de
|
* Thu Jun 12 2003 fehr@suse.de
|
||||||
- add missing dir to filelist
|
- add missing dir to filelist
|
||||||
* Thu Apr 24 2003 - ro@suse.de
|
* Thu Apr 24 2003 ro@suse.de
|
||||||
- fix install_info --delete call and move from preun to postun
|
- fix install_info --delete call and move from preun to postun
|
||||||
* Thu Mar 20 2003 - fehr@suse.de
|
* Thu Mar 20 2003 fehr@suse.de
|
||||||
- display also partitions of type Apple_Free on Macintosh
|
- display also partitions of type Apple_Free on Macintosh
|
||||||
* Mon Feb 24 2003 - fehr@suse.de
|
* Mon Feb 24 2003 fehr@suse.de
|
||||||
- update to new version 1.6.5
|
- update to new version 1.6.5
|
||||||
* Mon Feb 17 2003 - fehr@suse.de
|
* Mon Feb 17 2003 fehr@suse.de
|
||||||
- Use env var YAST_IS_RUNNING instead if YAST2_RUNNING for checking
|
- Use env var YAST_IS_RUNNING instead if YAST2_RUNNING for checking
|
||||||
if parted is called by YAST2
|
if parted is called by YAST2
|
||||||
* Fri Feb 07 2003 - fehr@suse.de
|
* Fri Feb 07 2003 fehr@suse.de
|
||||||
- Use %%install_info macro
|
- Use %%install_info macro
|
||||||
* Mon Feb 03 2003 - fehr@suse.de
|
* Mon Feb 03 2003 fehr@suse.de
|
||||||
- disable check for string "FAT" in boot sector since it makes
|
- disable check for string "FAT" in boot sector since it makes
|
||||||
parted fail on some IDE disks with TurboLinux installed (#19401)
|
parted fail on some IDE disks with TurboLinux installed (#19401)
|
||||||
* Tue Dec 10 2002 - fehr@suse.de
|
* Tue Dec 10 2002 fehr@suse.de
|
||||||
- update to new version 1.6.4
|
- update to new version 1.6.4
|
||||||
* Mon Nov 18 2002 - schwab@suse.de
|
* Mon Nov 18 2002 schwab@suse.de
|
||||||
- Add AM_GNU_GETTEXT_VERSION.
|
- Add AM_GNU_GETTEXT_VERSION.
|
||||||
* Mon Sep 23 2002 - meissner@suse.de
|
* Mon Sep 23 2002 meissner@suse.de
|
||||||
- recognize AIX IPL signatures in MSDOS labels and mark these labels
|
- recognize AIX IPL signatures in MSDOS labels and mark these labels
|
||||||
invalid. Also overwrite the AIX IPL signature on "mklabel" (#20039).
|
invalid. Also overwrite the AIX IPL signature on "mklabel" (#20039).
|
||||||
* Mon Sep 02 2002 - fehr@suse.de
|
* Mon Sep 02 2002 fehr@suse.de
|
||||||
- fix bug occuring sometimes when resizing reiserfs from YaST2
|
- fix bug occuring sometimes when resizing reiserfs from YaST2
|
||||||
(bug was in patch always-resize-part.dif)
|
(bug was in patch always-resize-part.dif)
|
||||||
* Tue Aug 13 2002 - fehr@suse.de
|
* Tue Aug 13 2002 fehr@suse.de
|
||||||
- update to parted 1.6.3
|
- update to parted 1.6.3
|
||||||
* Thu Aug 08 2002 - fehr@suse.de
|
* Thu Aug 08 2002 fehr@suse.de
|
||||||
- add patch to ignore /proc/sys/kernel/real-root-dev and do a stat
|
- add patch to ignore /proc/sys/kernel/real-root-dev and do a stat
|
||||||
on "/" instead. real-root-dev does not always contain a valid
|
on "/" instead. real-root-dev does not always contain a valid
|
||||||
entry
|
entry
|
||||||
* Tue Aug 06 2002 - meissner@suse.de
|
* Tue Aug 06 2002 meissner@suse.de
|
||||||
- redid patch for partition ids on MAC with some API additions
|
- redid patch for partition ids on MAC with some API additions
|
||||||
to make it 64bit clean.
|
to make it 64bit clean.
|
||||||
* Thu Aug 01 2002 - fehr@suse.de
|
* Thu Aug 01 2002 fehr@suse.de
|
||||||
- add patch by Marcus Meissner to show partition type on MACs
|
- add patch by Marcus Meissner to show partition type on MACs
|
||||||
* Thu Jul 25 2002 - fehr@suse.de
|
* Thu Jul 25 2002 fehr@suse.de
|
||||||
- add patch by Marcus Meissner to show and set partition id on dos
|
- add patch by Marcus Meissner to show and set partition id on dos
|
||||||
label
|
label
|
||||||
* Tue Jul 16 2002 - schwab@suse.de
|
* Tue Jul 16 2002 schwab@suse.de
|
||||||
- Update to parted 1.6.2, needed for ia64.
|
- Update to parted 1.6.2, needed for ia64.
|
||||||
* Tue Jul 02 2002 - meissner@suse.de
|
* Tue Jul 02 2002 meissner@suse.de
|
||||||
- rerun auto* tools
|
- rerun auto* tools
|
||||||
* Thu Jun 27 2002 - fehr@suse.de
|
* Thu Jun 27 2002 fehr@suse.de
|
||||||
- make setting flags lvm and raid to off work
|
- make setting flags lvm and raid to off work
|
||||||
* Mon Jun 10 2002 - fehr@suse.de
|
* Mon Jun 10 2002 fehr@suse.de
|
||||||
- add patch to resize also partitions with unkown fs under YaST2
|
- add patch to resize also partitions with unkown fs under YaST2
|
||||||
* Tue May 07 2002 - fehr@suse.de
|
* Tue May 07 2002 fehr@suse.de
|
||||||
- update to 1.4.24
|
- update to 1.4.24
|
||||||
- add patch to be verbose when resizing fat under YaST2
|
- add patch to be verbose when resizing fat under YaST2
|
||||||
* Tue May 07 2002 - ro@suse.de
|
* Tue May 07 2002 ro@suse.de
|
||||||
- fixed specfile: no macro allowed in Version: line
|
- fixed specfile: no macro allowed in Version: line
|
||||||
* Fri Apr 26 2002 - coolo@suse.de
|
* Fri Apr 26 2002 coolo@suse.de
|
||||||
- use %%_libdir
|
- use %%_libdir
|
||||||
* Mon Sep 03 2001 - kkaempf@suse.de
|
* Mon Sep 03 2001 kkaempf@suse.de
|
||||||
- update to 1.4.18
|
- update to 1.4.18
|
||||||
compiles now with gcc 3.x and new autoconf/automake.
|
compiles now with gcc 3.x and new autoconf/automake.
|
||||||
support for ext3.
|
support for ext3.
|
||||||
lots of minor fixes, see ChangeLog in source.
|
lots of minor fixes, see ChangeLog in source.
|
||||||
* Thu May 10 2001 - freitag@suse.de
|
* Thu May 10 2001 freitag@suse.de
|
||||||
- Added documentation to filelist, Bug# 6115
|
- Added documentation to filelist, Bug# 6115
|
||||||
* Thu May 10 2001 - mfabian@suse.de
|
* Thu May 10 2001 mfabian@suse.de
|
||||||
- bzip2 sources
|
- bzip2 sources
|
||||||
* Mon Apr 30 2001 - tom@suse.de
|
* Mon Apr 30 2001 tom@suse.de
|
||||||
- Change to new version 1.4.11
|
- Change to new version 1.4.11
|
||||||
Removed configure patch (not needed anymore)
|
Removed configure patch (not needed anymore)
|
||||||
Removed gettextize (doesn't build)
|
Removed gettextize (doesn't build)
|
||||||
Changed shared libraries to new state in file list
|
Changed shared libraries to new state in file list
|
||||||
* Thu Apr 12 2001 - ro@suse.de
|
* Thu Apr 12 2001 ro@suse.de
|
||||||
- gettextize for new gettext
|
- gettextize for new gettext
|
||||||
* Wed Apr 04 2001 - kukuk@suse.de
|
* Wed Apr 04 2001 kukuk@suse.de
|
||||||
- Add shared libraries to filelist for intel
|
- Add shared libraries to filelist for intel
|
||||||
* Fri Mar 23 2001 - schwab@suse.de
|
* Fri Mar 23 2001 schwab@suse.de
|
||||||
- Fix configure check for sizeof off_t.
|
- Fix configure check for sizeof off_t.
|
||||||
- Enable shared libs for x86 now that llseek.c rubbish is not
|
- Enable shared libs for x86 now that llseek.c rubbish is not
|
||||||
needed any more.
|
needed any more.
|
||||||
* Fri Feb 23 2001 - uli@suse.de
|
* Fri Feb 23 2001 uli@suse.de
|
||||||
- enabled shared libs for non-x86 archs (see libparted/llseek.c for
|
- enabled shared libs for non-x86 archs (see libparted/llseek.c for
|
||||||
explanation why this doesn't work for x86)
|
explanation why this doesn't work for x86)
|
||||||
* Fri Feb 23 2001 - ro@suse.de
|
* Fri Feb 23 2001 ro@suse.de
|
||||||
- added readline/readline-devel to neededforbuild (split from bash)
|
- added readline/readline-devel to neededforbuild (split from bash)
|
||||||
* Fri Jan 12 2001 - tom@suse.de
|
* Fri Jan 12 2001 tom@suse.de
|
||||||
- update to version 1.4.6
|
- update to version 1.4.6
|
||||||
* Wed Jan 03 2001 - tom@suse.de
|
* Wed Jan 03 2001 tom@suse.de
|
||||||
- update to version 1.4.5
|
- update to version 1.4.5
|
||||||
* Mon Dec 04 2000 - schwab@suse.de
|
* Mon Dec 04 2000 schwab@suse.de
|
||||||
- Add %%suse_update_config.
|
- Add %%suse_update_config.
|
||||||
* Fri Dec 01 2000 - tom@suse.de
|
* Fri Dec 01 2000 tom@suse.de
|
||||||
- update to version 1.4.4
|
- update to version 1.4.4
|
||||||
* Tue Nov 21 2000 - tom@suse.de
|
* Tue Nov 21 2000 tom@suse.de
|
||||||
- update to version 1.4.2
|
- update to version 1.4.2
|
||||||
* Thu Nov 09 2000 - ro@suse.de
|
* Thu Nov 09 2000 ro@suse.de
|
||||||
- fixed neededforbuild
|
- fixed neededforbuild
|
||||||
* Tue Oct 10 2000 - tom@suse.de
|
* Tue Oct 10 2000 tom@suse.de
|
||||||
- initial version, GNU parted 1.2.9
|
- initial version, GNU parted 1.2.9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user