Bug#397973: parted: Fix mac partition table corruption

2007-03-04 Thread David Härdeman
On Sat, Mar 03, 2007 at 10:01:00PM -0800, Steve Langasek wrote: On Sat, Mar 03, 2007 at 03:25:20AM +0100, David Härdeman wrote: >So "clearing" the flag will only clear it in the internal mac_data >structure, it won't cause the system name of the partition to be reset? Or >is this handled by mac

Bug#397973: parted: Fix mac partition table corruption

2007-03-04 Thread David Härdeman
On Sat, Mar 03, 2007 at 10:05:39PM -0800, Steve Langasek wrote: A further concern on this patch: On Sat, Mar 03, 2007 at 02:47:04AM +0100, David Härdeman wrote: diff -ur ./parted-1.7.1.orig/libparted/labels/mac.c ./parted-1.7.1/libparted/labels/mac.c --- ./parted-1.7.1.orig/libparted/labels/m

Bug#413184: [EMAIL PROTECTED]: Re: Bug#397973: parted: Fix mac partition table corruption]

2007-03-03 Thread Steve Langasek
ct: Re: Bug#397973: parted: Fix mac partition table corruption Date: Sat, 3 Mar 2007 22:00:59 -0800 On Sat, Mar 03, 2007 at 03:25:20AM +0100, David Härdeman wrote: > >So "clearing" the flag will only clear it in the internal mac_data > >structure, it won't cause the system

Bug#397973: parted: Fix mac partition table corruption

2007-03-03 Thread Steve Langasek
A further concern on this patch: On Sat, Mar 03, 2007 at 02:47:04AM +0100, David Härdeman wrote: > diff -ur ./parted-1.7.1.orig/libparted/labels/mac.c > ./parted-1.7.1/libparted/labels/mac.c > --- ./parted-1.7.1.orig/libparted/labels/mac.c2006-05-25 > 19:28:55.0 +0200 > +++ ./pa

Bug#397973: parted: Fix mac partition table corruption

2007-03-03 Thread Steve Langasek
On Sat, Mar 03, 2007 at 03:25:20AM +0100, David Härdeman wrote: > >So "clearing" the flag will only clear it in the internal mac_data > >structure, it won't cause the system name of the partition to be reset? Or > >is this handled by mac_partition_set_system? > Yes, the system name will not be re

Bug#397973: parted: Fix mac partition table corruption

2007-03-02 Thread David Härdeman
On Fri, Mar 02, 2007 at 06:14:19PM -0800, Steve Langasek wrote: On Sat, Mar 03, 2007 at 02:47:04AM +0100, David Härdeman wrote: diff -ur ./parted-1.7.1.orig/libparted/labels/mac.c ./parted-1.7.1/libparted/labels/mac.c --- ./parted-1.7.1.orig/libparted/labels/mac.c 2006-05-25 19:28:55.0

Bug#397973: parted: Fix mac partition table corruption

2007-03-02 Thread Steve Langasek
On Sat, Mar 03, 2007 at 02:47:04AM +0100, David Härdeman wrote: > diff -ur ./parted-1.7.1.orig/libparted/labels/mac.c > ./parted-1.7.1/libparted/labels/mac.c > --- ./parted-1.7.1.orig/libparted/labels/mac.c2006-05-25 > 19:28:55.0 +0200 > +++ ./parted-1.7.1/libparted/labels/mac.c

Bug#397973: parted: Fix mac partition table corruption

2007-03-02 Thread David Härdeman
The attached patch changes libparted so that it doesn't corrupt the mac parition table when flags that alter the system_name entry are set/unset. This fixes the error for me (using a mac partition table on a i386 machine). Some minor fixes remain in partman-md and partman-lvm (lvm, swap and r