rpms/parted/devel parted-1.8.6-manpage.patch, NONE, 1.1 parted-1.8.6-noinst-headers.patch, 1.1, 1.2 parted-1.8.6-xvd.patch, 1.1, 1.2 parted.spec, 1.113, 1.114
David Cantrell (dcantrel)
fedora-extras-commits at redhat.com
Mon Nov 5 19:17:27 UTC 2007
Author: dcantrel
Update of /cvs/pkgs/rpms/parted/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31893
Modified Files:
parted-1.8.6-noinst-headers.patch parted-1.8.6-xvd.patch
parted.spec
Added Files:
parted-1.8.6-manpage.patch
Log Message:
* Mon Nov 05 2007 David Cantrell <dcantrell at redhat.com> - 1.8.6-12
- Add KNOWN ISSUES section to parted(8) man page explaining that we cannot
currently do ext3 resizing inside parted (#367101)
- Update the xvd patch to include 'xvd' in the string table that parted
uses when printing device types (#366971)
- Do not install the linux.h or gnu.h headers
parted-1.8.6-manpage.patch:
--- NEW FILE parted-1.8.6-manpage.patch ---
diff -up parted-1.8.6/doc/C/parted.8.manpage parted-1.8.6/doc/C/parted.8
--- parted-1.8.6/doc/C/parted.8.manpage 2007-03-13 13:01:09.000000000 -0400
+++ parted-1.8.6/doc/C/parted.8 2007-11-05 13:55:18.000000000 -0500
@@ -108,6 +108,18 @@ supported are: "boot", "root", "swap", "
"palo".
\fIstate\fP should be either "on" or "off"
.RE
+.SH KNOWN ISSUES
+ext3 filesystem resizing does not currently work, please use
+.BR resize2fs (8)
+instead.
+
+Resizing partitions with an ext3 filesystem will not generally work because
+of the above issue. Use
+.BR resize2fs (8)
+to resize the filesystem and resize the partition manually using
+.BR fdisk (8)
+or a similar tool. For LVM situations, you will need to use the LVM commands
+to resize the LVM elements.
.SH REPORTING BUGS
Report bugs to <bug-parted at gnu.org>
.SH SEE ALSO
parted-1.8.6-noinst-headers.patch:
Index: parted-1.8.6-noinst-headers.patch
===================================================================
RCS file: /cvs/pkgs/rpms/parted/devel/parted-1.8.6-noinst-headers.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- parted-1.8.6-noinst-headers.patch 30 Oct 2007 19:15:47 -0000 1.1
+++ parted-1.8.6-noinst-headers.patch 5 Nov 2007 19:17:23 -0000 1.2
@@ -1,7 +1,17 @@
-diff -up parted-1.8.6/include/parted/Makefile.am.hdrs parted-1.8.6/include/parted/Makefile.am
---- parted-1.8.6/include/parted/Makefile.am.hdrs 2007-03-19 20:58:55.000000000 -0400
-+++ parted-1.8.6/include/parted/Makefile.am 2007-10-30 14:39:11.000000000 -0400
-@@ -12,11 +12,11 @@ partedinclude_HEADERS = gnu.h \
+diff -up parted-1.8.6/include/parted/Makefile.am.noinst parted-1.8.6/include/parted/Makefile.am
+--- parted-1.8.6/include/parted/Makefile.am.noinst 2007-03-19 20:58:55.000000000 -0400
++++ parted-1.8.6/include/parted/Makefile.am 2007-11-05 14:05:41.000000000 -0500
+@@ -1,8 +1,6 @@
+ partedincludedir = $(includedir)/parted
+
+-partedinclude_HEADERS = gnu.h \
+- linux.h \
+- constraint.h \
++partedinclude_HEADERS = constraint.h \
+ debug.h \
+ device.h \
+ disk.h \
+@@ -12,11 +10,13 @@ partedinclude_HEADERS = gnu.h \
natmath.h \
timer.h \
unit.h \
@@ -14,6 +24,8 @@
- endian.h
+ endian.h \
+ fdasd.h \
-+ vtoc.h
++ vtoc.h \
++ linux.h \
++ gnu.h
MAINTAINERCLEANFILES = Makefile.in
parted-1.8.6-xvd.patch:
Index: parted-1.8.6-xvd.patch
===================================================================
RCS file: /cvs/pkgs/rpms/parted/devel/parted-1.8.6-xvd.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- parted-1.8.6-xvd.patch 7 Aug 2007 18:11:31 -0000 1.1
+++ parted-1.8.6-xvd.patch 5 Nov 2007 19:17:23 -0000 1.2
@@ -1,7 +1,25 @@
+diff -up parted-1.8.6/include/parted/device.h.xvd parted-1.8.6/include/parted/device.h
+--- parted-1.8.6/include/parted/device.h.xvd 2007-01-12 10:15:10.000000000 -0500
++++ parted-1.8.6/include/parted/device.h 2007-11-05 14:00:59.000000000 -0500
+@@ -45,11 +45,11 @@ typedef enum {
+ PED_DEVICE_UBD = 8,
+ PED_DEVICE_DASD = 9,
+ PED_DEVICE_VIODASD = 10,
+- PED_DEVICE_SX8 = 11
++ PED_DEVICE_SX8 = 11,
+ #ifdef ENABLE_DEVICE_MAPPER
+- ,
+- PED_DEVICE_DM = 12
++ PED_DEVICE_DM = 12,
+ #endif
++ PED_DEVICE_XVD = 13
+ } PedDeviceType;
+
+ typedef struct _PedDevice PedDevice;
diff -up parted-1.8.6/libparted/arch/linux.c.xvd parted-1.8.6/libparted/arch/linux.c
---- parted-1.8.6/libparted/arch/linux.c.xvd 2007-08-07 14:05:59.000000000 -0400
-+++ parted-1.8.6/libparted/arch/linux.c 2007-08-07 14:07:13.000000000 -0400
-@@ -248,6 +248,7 @@ struct blkdev_ioctl_param {
+--- parted-1.8.6/libparted/arch/linux.c.xvd 2007-03-19 20:57:51.000000000 -0400
++++ parted-1.8.6/libparted/arch/linux.c 2007-11-05 14:00:59.000000000 -0500
+@@ -254,6 +254,7 @@ struct blkdev_ioctl_param {
#define VIODASD_MAJOR 112
#define SX8_MAJOR1 160
#define SX8_MAJOR2 161
@@ -9,7 +27,7 @@
#define SCSI_BLK_MAJOR(M) ( \
(M) == SCSI_DISK0_MAJOR \
-@@ -450,6 +451,8 @@ _device_probe_type (PedDevice* dev)
+@@ -456,6 +457,8 @@ _device_probe_type (PedDevice* dev)
} else if (_is_dm_major(dev_major)) {
dev->type = PED_DEVICE_DM;
#endif
@@ -18,7 +36,7 @@
} else {
dev->type = PED_DEVICE_UNKNOWN;
}
-@@ -1152,6 +1155,11 @@ linux_new (const char* path)
+@@ -1158,6 +1161,11 @@ linux_new (const char* path)
break;
#endif
@@ -30,21 +48,19 @@
case PED_DEVICE_UNKNOWN:
if (!init_generic (dev, _("Unknown")))
goto error_free_arch_specific;
-diff -up parted-1.8.6/include/parted/device.h.xvd parted-1.8.6/include/parted/device.h
---- parted-1.8.6/include/parted/device.h.xvd 2007-01-12 10:15:10.000000000 -0500
-+++ parted-1.8.6/include/parted/device.h 2007-08-07 14:07:13.000000000 -0400
-@@ -45,11 +45,11 @@ typedef enum {
- PED_DEVICE_UBD = 8,
- PED_DEVICE_DASD = 9,
- PED_DEVICE_VIODASD = 10,
-- PED_DEVICE_SX8 = 11
-+ PED_DEVICE_SX8 = 11,
- #ifdef ENABLE_DEVICE_MAPPER
-- ,
-- PED_DEVICE_DM = 12
-+ PED_DEVICE_DM = 12,
- #endif
-+ PED_DEVICE_XVD = 13
- } PedDeviceType;
-
- typedef struct _PedDevice PedDevice;
+diff -up parted-1.8.6/parted/parted.c.xvd parted-1.8.6/parted/parted.c
+--- parted-1.8.6/parted/parted.c.xvd 2007-11-05 14:00:59.000000000 -0500
++++ parted-1.8.6/parted/parted.c 2007-11-05 14:02:10.000000000 -0500
+@@ -1227,9 +1227,10 @@ do_print (PedDevice** dev)
+ int has_free_arg = 0;
+ int has_list_arg = 0;
+ int has_num_arg = 0;
+- char* transport[13] = {"unknown", "scsi", "ide", "dac960",
++ char* transport[14] = {"unknown", "scsi", "ide", "dac960",
+ "cpqarray", "file", "ataraid", "i2o",
+- "ubd", "dasd", "viodasd", "sx8", "dm"};
++ "ubd", "dasd", "viodasd", "sx8", "dm",
++ "xvd"};
+ char* peek_word;
+ char* start;
+ char* end;
Index: parted.spec
===================================================================
RCS file: /cvs/pkgs/rpms/parted/devel/parted.spec,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- parted.spec 30 Oct 2007 19:15:47 -0000 1.113
+++ parted.spec 5 Nov 2007 19:17:23 -0000 1.114
@@ -4,7 +4,7 @@
Summary: The GNU disk partition manipulation program
Name: parted
Version: 1.8.6
-Release: 11%{?dist}
+Release: 12%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://www.gnu.org/software/parted
@@ -17,6 +17,7 @@
Patch4: %{name}-1.8.6-xvd.patch
Patch5: %{name}-1.8.6-devmapper-header.patch
Patch6: %{name}-1.8.6-noinst-headers.patch
+Patch7: %{name}-1.8.6-manpage.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: e2fsprogs-devel readline-devel ncurses-devel
@@ -53,6 +54,7 @@
%patch4 -p1 -b .xvd
%patch5 -p1 -b .devmapper
%patch6 -p1 -b .noinst
+%patch7 -p1 -b .manpage
%build
%configure --enable-device-mapper --enable-selinux --disable-static
@@ -98,6 +100,13 @@
%{_libdir}/pkgconfig/libparted.pc
%changelog
+* Mon Nov 05 2007 David Cantrell <dcantrell at redhat.com> - 1.8.6-12
+- Add KNOWN ISSUES section to parted(8) man page explaining that we cannot
+ currently do ext3 resizing inside parted (#367101)
+- Update the xvd patch to include 'xvd' in the string table that parted
+ uses when printing device types (#366971)
+- Do not install the linux.h or gnu.h headers
+
* Tue Oct 30 2007 David Cantrell <dcantrell at redhat.com> - 1.8.6-11
- Do not install fdasd.h and vtoc.h header files
More information about the fedora-extras-commits
mailing list