bug#16134: Bug#239816: bug#16134: libparted Atari partition table support

2016-10-15 Thread John Paul Adrian Glaubitz
Hi! I just stumbled into this bug again since I wanted to use parted today to create a disk image that would be recognized by ARAnyM with a kernel with just Atari partition support. I pulled the old patch from Stephen's git repository, applied it to the current git version of parted which surpris

bug#16134:

2016-10-15 Thread John Paul Adrian Glaubitz
Hi! The following patch adds support for Atari partition tables as used on classic Atari computers like the Atari ST or Falcon as well as the ARAnyM Atari emulator. This patch was originally written by Guillaume Knispel in 2005 [1] for parted 1.6.6. I have ported the patch to parted 3.2.x and cle

bug#16134: [PATCH] libparted: Add support for Atari partition tables

2016-10-15 Thread John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz --- libparted/labels/Makefile.am |1 + libparted/labels/atari.c | 1969 ++ libparted/libparted.c|4 + po/POTFILES.in |1 + 4 files changed, 1975 insertions(+) create mode 100644

bug#16134: [PATCH] libparted: Add support for Atari partition tables

2016-10-15 Thread John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz --- libparted/labels/Makefile.am |1 + libparted/labels/atari.c | 1969 ++ libparted/libparted.c|4 + po/POTFILES.in |1 + 4 files changed, 1975 insertions(+) create mode 100644

bug#16134: Atari partition table support, v2

2016-10-15 Thread John Paul Adrian Glaubitz
Fixed the description at the top of libparted/labels/atari.c. Adrian

bug#16134: Bug#239816: bug#16134: libparted Atari partition table support

2016-10-15 Thread John Paul Adrian Glaubitz
On 10/15/2016 03:11 PM, John Paul Adrian Glaubitz wrote: > I then tried the image on Aranym but to my disappointment, the kernel did > not recognize the partition table, so there is still something wrong with > the patch as-is. Ah, it works after enabling byte-swapping in ARAnyM :). Alright, will

bug#16134: Bug#239816: bug#16134: libparted Atari partition table support

2016-10-15 Thread Michael Schmitz
Adrian, good to see you managed to fix the libparted issues! Am 16.10.2016 um 02:53 schrieb John Paul Adrian Glaubitz: > On 10/15/2016 03:11 PM, John Paul Adrian Glaubitz wrote: >> I then tried the image on Aranym but to my disappointment, the kernel did >> not recognize the partition table, so t

bug#16134: Bug#239816: bug#16134: libparted Atari partition table support

2016-10-15 Thread John Paul Adrian Glaubitz
On 10/15/2016 09:15 PM, Michael Schmitz wrote: > good to see you managed to fix the libparted issues! Thanks. I just happened to be in the situation that I'm writing a guide how to set up a minimal Debian/m68k system on ARAnyM from scratch. >> Ah, it works after enabling byte-swapping in ARAnyM :

bug#16134: Bug#239816: bug#16134: libparted Atari partition table support

2016-10-15 Thread Michael Schmitz
Hi Adrian, Am 16.10.2016 um 08:32 schrieb John Paul Adrian Glaubitz: > On 10/15/2016 09:15 PM, Michael Schmitz wrote: >> good to see you managed to fix the libparted issues! > > Thanks. I just happened to be in the situation that I'm writing a guide > how to set up a minimal Debian/m68k system on

bug#16134: Bug#239816: bug#16134: libparted Atari partition table support

2016-10-15 Thread Thorsten Glaser
Michael Schmitz dixit: >Did you write the table on the host and then had to byte swap to get it >read in ARAnyM? > >Just checked - Atari byte order disk image files of IDE disks don't need >byte swapping. Host native byte order ones do, that suggests your ARAnyM writes in byte-swapped order by de

bug#16134: Bug#239816: bug#16134: libparted Atari partition table support

2016-10-15 Thread Michael Schmitz
Thorsten, Am 16.10.2016 um 11:42 schrieb Thorsten Glaser: > Michael Schmitz dixit: > >> Did you write the table on the host and then had to byte swap to get it >> read in ARAnyM? >> >> Just checked - Atari byte order disk image files of IDE disks don't need >> byte swapping. Host native byte orde