[Parted-commits] GNU Parted Official Repository: Changes to 'stable-1.8.x'
David Cantrell
dcantrell-guest at alioth.debian.org
Wed Nov 7 16:02:08 UTC 2007
doc/C/parted.8 | 12 ++++++++++++
include/parted/device.h | 2 --
parted/parted.c | 7 ++++---
3 files changed, 16 insertions(+), 5 deletions(-)
New commits:
commit 7ee64b8636a1688ec0c158621cc4209dd8ac581f
Author: David Cantrell <dcantrell at redhat.com>
Date: Tue Nov 6 15:12:29 2007 -0500
Add 'xvd' to the transports array in do_print
For the parted print command, add 'xvd' to the transports array so there is
a matching string to display when we print a line for Xen virtual block
device.
(cherry picked from commit 688b0284a740e0d2900f222bc03c757657e6d9f0)
diff --git a/parted/parted.c b/parted/parted.c
index 6a606ae..738151b 100644
--- a/parted/parted.c
+++ b/parted/parted.c
@@ -1226,7 +1226,7 @@ partition_print (PedPartition* part)
putchar ('\n');
flags = partition_print_flags (part);
-
+
printf (_("Minor: %d\n"), part->num);
printf (_("Flags: %s\n"), flags);
printf (_("File System: %s\n"), fs->type->name);
@@ -1264,9 +1264,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;
commit cea811e186fcc77e4c6d5b43deb20ad30396ab2a
Author: David Cantrell <dcantrell at redhat.com>
Date: Tue Nov 6 15:13:15 2007 -0500
Always define PED_DEVICE_DM
Regardless of compile time options, always define PED_DEVICE_DM.
(cherry picked from commit 4355508b01c1f7f5998df99933c37986f60b7f7c)
diff --git a/include/parted/device.h b/include/parted/device.h
index ee92de9..e669688 100644
--- a/include/parted/device.h
+++ b/include/parted/device.h
@@ -46,9 +46,7 @@ typedef enum {
PED_DEVICE_DASD = 9,
PED_DEVICE_VIODASD = 10,
PED_DEVICE_SX8 = 11,
-#ifdef ENABLE_DEVICE_MAPPER
PED_DEVICE_DM = 12,
-#endif
PED_DEVICE_XVD = 13
} PedDeviceType;
commit 7e47f1180559543a232ab7b847646d59f6e0fb5f
Author: David Cantrell <dcantrell at redhat.com>
Date: Tue Nov 6 15:13:54 2007 -0500
Add KNOWN ISSUES section
Add a KNOWN ISSUES section explaining that ext3 resizing does not work
and that you should use resize2fs.
(cherry picked from commit 8a401b16025ef0926955ab9dfdaee7ca8b741a86)
diff --git a/doc/C/parted.8 b/doc/C/parted.8
index 7040402..fdf3d04 100644
--- a/doc/C/parted.8
+++ b/doc/C/parted.8
@@ -124,6 +124,18 @@ and a human-friendly form for output).
.B version
Display version information and a copyright message.
.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
More information about the Parted-commits
mailing list