David,
In fact I made some new test just after I sent the mail.
In a Term if I run parted I can see the swap file. In GParted I can't
Please have a look at : http://gparted.free.fr/screenshots/linux-swap.jpg
The only way (I know) to reproduce it is to build GParted after
parted-1.8.3 has been patched with the attached patch (from Chris), and
set for gentoo.
BTW GParted uses libparted.
Larry
David Cantrell wrote:
It comes from libparted. Do you have a reproducer for this bug?
On Mon, 2007-03-19 at 15:43 +0100, LarryT wrote:
There is also a problem with linux-swap.
I saw something somewhere about that but don't remember where :(
Well, GParted compiled with parted-1.8.3 patched, doesn't recognize
linux-swap, so far.
Does it come from parted, or GParted since parted changed ?
thx !
David Cantrell wrote:
I said parted-1.8.4 would follow shortly. And I mean shortly. I have
at least 3 patches so far to fix build issues on different platforms.
And there's the gcc 4.1.x patch for disk.h.
Going to push 1.8.4 today with those fixes.
Release often, release early.
------------------------------------------------------------------------
_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel
--
LarryT, GParted-livecd maintainer
Main site : http://gparted.sourceforge.net/
GParted forum : http://gparted-forum.surf4.info/index.php
Beta version : http://gparted.free.fr/beta/
--- parted-1.8.3/include/parted/disk.h~ 2007-03-17 13:43:18.000000000 +0000
+++ parted-1.8.3/include/parted/disk.h 2007-03-17 13:56:12.000000000 +0000
@@ -27,20 +27,6 @@
#ifndef PED_DISK_H_INCLUDED
#define PED_DISK_H_INCLUDED
-typedef enum _PedPartitionType PedPartitionType;
-typedef enum _PedPartitionFlag PedPartitionFlag;
-typedef enum _PedDiskTypeFeature PedDiskTypeFeature;
-typedef struct _PedDisk PedDisk;
-typedef struct _PedPartition PedPartition;
-typedef const struct _PedDiskOps PedDiskOps;
-typedef struct _PedDiskType PedDiskType;
-typedef const struct _PedDiskArchOps PedDiskArchOps;
-
-#include <parted/device.h>
-#include <parted/filesys.h>
-#include <parted/natmath.h>
-#include <parted/geom.h>
-
/**
* Partition types
*/
@@ -79,6 +65,26 @@
#define PED_DISK_TYPE_FIRST_FEATURE PED_DISK_TYPE_EXTENDED
#define PED_DISK_TYPE_LAST_FEATURE PED_DISK_TYPE_PARTITION_NAME
+struct _PedDisk;
+struct _PedPartition;
+struct _PedDiskOps;
+struct _PedDiskType;
+struct _PedDiskArchOps;
+
+typedef enum _PedPartitionType PedPartitionType;
+typedef enum _PedPartitionFlag PedPartitionFlag;
+typedef enum _PedDiskTypeFeature PedDiskTypeFeature;
+typedef struct _PedDisk PedDisk;
+typedef struct _PedPartition PedPartition;
+typedef const struct _PedDiskOps PedDiskOps;
+typedef struct _PedDiskType PedDiskType;
+typedef const struct _PedDiskArchOps PedDiskArchOps;
+
+#include <parted/device.h>
+#include <parted/filesys.h>
+#include <parted/natmath.h>
+#include <parted/geom.h>
+
/** @} */
/**
_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel