[parted-devel] [PATCH] detect device map type

Jim Meyering jim at meyering.net
Tue Jun 10 12:22:44 UTC 2008


Guido Günther <agx at sigxcpu.org> wrote:
> On Fri, Jun 06, 2008 at 10:59:45AM +0200, Jim Meyering wrote:
>> Guido Günther <agx at sigxcpu.org> wrote:
>> > On Fri, Jun 06, 2008 at 09:00:14AM +0200, Jim Meyering wrote:
>> > While looking at the code I wonder if we should move the whole dmtype
>> > into LinuxSpecific (since it is)? Let me know and I post a patch.
>>
>> Good idea, but best to wait until after I push,
>> since otherwise our changes will surely conflict.
> Patch that moves dmtype into LinuxSpecific attached.

Thanks.
I've added the usual ChangeLog-style entries
and pushed that:

Subject: [PATCH] move new dmtype member from PedDevice to LinuxSpecific,

since this is a Linux-only feature.
* include/parted/device.h (struct _PedDevice) [dmtype]: Remove member.
* include/parted/linux.h (struct _LinuxSpecific) [dmtype]: Add member.
* libparted/arch/linux.c (_dm_maptype, linux_new, linux_destroy): Update uses.



More information about the parted-devel mailing list