support for hfs(+)-fs on a CD

David Zeuthen david at fubar.dk
Thu Jul 29 13:59:59 PDT 2004


On Thu, 2004-07-29 at 22:39 +0200, Kay Sievers wrote:
> > Oh, bad. This is a single session with actually the 9th of the partition
> > as the data we are looking for. Don't know, what the guys at Apple are
> > smoking :) I will change it to look for the first valid partition, not
> > assuming that it's the first after the partiton table.
> 
> Hey David,
> here we search for the first 'Apple_HFS' type partition. Please have a look
> with your multi-multi-multi-partition DVD :)

Hey Kay,

Thanks a lot; it works and I've committed it. Pretty gross with all
those partitions. 

> Can you send the debug output, even when it works for you. I want to see
> the 10 partition scan loop on this disk.
> 

Yeah, sure, here it is

        [I] linux/block_class_device.c:901 detect_media() : get_disc_type returned 0x10
        get_buffer: read sbbuf len:0x200
        get_buffer: got 0x200 (512) bytes
        get_buffer: read sbbuf len:0x11000
        get_buffer: got 0x11000 (69632) bytes
        probe_hfs_hfsplus: expecting 10 partition entries
        probe_hfs_hfsplus: found 'Apple_Void' partition entry pointing to 0x0
        probe_hfs_hfsplus: found 'Apple_Void' partition entry pointing to 0x0
        probe_hfs_hfsplus: found 'Apple_partition_map' partition entry pointing to 0x800probe_hfs_hfsplus: found 'Apple_Driver43' partition entry pointing to 0x8000
        probe_hfs_hfsplus: found 'Apple_Driver43_CD' partition entry pointing to 0xf000
        probe_hfs_hfsplus: found 'Apple_Driver_ATAPI' partition entry pointing to 0x20800
        probe_hfs_hfsplus: found 'Apple_Driver_ATAPI' partition entry pointing to 0x27800
        probe_hfs_hfsplus: found 'Apple_Patches' partition entry pointing to 0x39000
        probe_hfs_hfsplus: found 'Apple_HFS' partition entry pointing to 0x79000
        get_buffer: read seekbuf off:0x79400 len:0x200
        get_buffer: got 0x200 (512) bytes
        probe_hfs_hfsplus: alloc_block_size 0x12000
        probe_hfs_hfsplus: alloc_first_block 0x18
        probe_hfs_hfsplus: embed_first_block 0x5
        probe_hfs_hfsplus: hfs wrapped hfs+ found at offset 0xd6000
        get_buffer: read seekbuf off:0xd6400 len:0x200
        get_buffer: got 0x200 (512) bytes
        probe_hfs_hfsplus: catalog start 0x8d7000, len 0x400000
        get_buffer: read seekbuf off:0x8d7000 len:0x1000
        get_buffer: got 0x1000 (4096) bytes
        probe_hfs_hfsplus: catalog leaf node 0x304, size 0x1000
        get_buffer: read seekbuf off:0xbdb000 len:0x1000
        get_buffer: got 0x1000 (4096) bytes
        probe_hfs_hfsplus: descriptor type 0xff
        probe_hfs_hfsplus: parent id 0x1
        probe_hfs_hfsplus: label unicode16 len 36

And of course, here's the screenshot:

 http://freedesktop.org/~david/hfsplus-from-problematic-dvd.png

Take care,
David
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list