[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: Michael Schmitz
Subject: bug#16134: Bug#239816: bug#16134: libparted Atari partition table support
Date: Sun, 16 Oct 2016 08:15:05 +1300
User-agent: Mozilla/5.0 (X11; Linux ppc; rv:45.0) Gecko/20100101 Icedove/45.2.0


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 there is still something wrong with
>> the patch as-is.
> Ah, it works after enabling byte-swapping in ARAnyM :).

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
partition table is in host native order. To get it to work in ARAnyM out
of the box, and more importantly on real hardware the partition table
would need to be written to the disk image with byte swapping.

Note that SCSI disks don't need byte swapping so if you want to support
both targets, libparted would need a byte swap option ...


> Alright, will clean this up, add tests and then get it merged!
> Adrian

reply via email to

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