[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: John Paul Adrian Glaubitz
Subject: bug#16134: Bug#239816: bug#16134: libparted Atari partition table support
Date: Sat, 15 Oct 2016 15:11:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0


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 surprisingly still worked, albeit
the patches applied with some fuzz.

However, the code did not build anymore, so I fixed all compiler errors
and warnings and was now able to run parted with the patch merged.

Creating a partition table with "mklabel atari" worked, but now libparted
crashed when running "mkpart". After refactoring the Atari code to make
use of pt-common.h and pt-tools.h, this problem was fixed, too.

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.

I'm attaching my current patch for parted. Maybe someone else has an idea
what I might be missing here to get the kernel recognize the partition
table created with the patched version of parted.

Once we have sorted the remaining issues out, I will take care of adding
the necessary tests and get the changes merged upstream.


 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - address@hidden
`. `'   Freie Universitaet Berlin - address@hidden
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Attachment: 0001-Add-support-for-Atari-partition-labels.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]