Re: [PATCH v3 01/15] hfsplus: add necessary declarations for journal replay

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

 



On 12 February 2014 18:59, Vyacheslav Dubeyko <slava@xxxxxxxxxxx> wrote:
>
> On Feb 12, 2014, at 7:50 PM, Sergei Antonov wrote:
>
>> On 12 February 2014 17:38, Vyacheslav Dubeyko <slava@xxxxxxxxxxx> wrote:
>>> On Wed, 2014-02-12 at 17:15 +0100, Sergei Antonov wrote:
>>>
>>>>> The journal info block (struct hfsplus_journal_info_block) is big-endian
>>>>> structure. The rest structures of HFS+ journal (struct hfsplus_journal_header,
>>>>> struct hfsplus_blhdr, struct hfsplus_block_info) are little-endian.
>>>>
>>>> Journal header and block lists are either big-endian or little-endian.
>>>> See JOURNAL_NEED_SWAP in Apple's code.
>>>
>>> Do you know how to create journal with BE internal structures?
>>
>> You need a PowerPC Mac I guess.
>>
>
> You guess or you know? Please, share concrete way.
>
>>> And I can't see such opportunities in newfs_hfs tool.
>>
>> Ha! New_hfs does not initialize journal at all.
>>
>
> Namely, newfs_hfs create journal. Otherwise, what tool does it?
>
>>> Could you share the way of creation
>>> HFS+ journal with big-endian Journal header and block lists?
>>
>> As I said, header and block lists are BE.
>
> I can only repeat. Could you share the way of creation HFS+ journal
> with big-endian Journal header and block lists?
>
> Thanks,
> Vyacheslav Dubeyko.

I saw big-endian journal on Panther installed on PearPC emulator.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux