linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vyacheslav Dubeyko <slava@dubeyko.com>
To: htl10@users.sourceforge.net
Cc: Linux FS devel list <linux-fsdevel@vger.kernel.org>
Subject: Re: testing HFS+ journal replay against real Apple code
Date: Fri, 07 Feb 2014 09:53:18 +0400	[thread overview]
Message-ID: <1391752398.15555.35.camel@ubuntu> (raw)
In-Reply-To: <1391694318.52188.YahooMailBasic@web172306.mail.ir2.yahoo.com>

Hi Hin-Tak,

On Thu, 2014-02-06 at 13:45 +0000, Hin-Tak Leung wrote:
> Hi Vyacheslav,
> I was looking for powerpc emulation for a different purpose, and
> came upon this collection of ideas. Apple have released
> the bare darwin OS (kernel, command-line utils, etc without the Mac OS X
> GUI on top) as an installable ISO, I think darwin 8 is roughly equivalent
> to Mac OS X 10.4 . But as far as the file system driver is concerned,
> it should be sufficient for your needs for HFS+ inter-op.
> 
> So if you have a spare computer, you can just install it... 
> 
> http://www.opensource.apple.com/static/iso/
> 
> I am thinking of making a powerpc instance with PearPC (since I have
> other use of that) - apparently it work well enough, but the x86 install
> probably can work with an x86 emulator/vmware, etc.
> 
> That means you can simulate unclean shutdown, etc by killing the emulator
> in the middle of something, etc. and "mount -o loop -t hpfsplus" the image"
> should roll the journal, etc, right?
> 

Thank you for the advice. I'll consider this way.

Currently, I have for testing two MacMini with different versions of Mac
OS X for testing. And I use external flash sticks and external drives
for testing. I suppose that such way gives more freedom for generation
different HFS+ volumes' configurations (block size, journal size and so
on) and states (workloads, journal content, journal state and so on)
under Mac OS X than it can be achieved for rootfs. Also, such way gives
more precise way for sudden power-off emulation, I suppose.

But, anyway, your suggestion can be useful, I think.

Thanks,
Vyacheslav Dubeyko.



  reply	other threads:[~2014-02-07  5:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06 13:45 testing HFS+ journal replay against real Apple code Hin-Tak Leung
2014-02-07  5:53 ` Vyacheslav Dubeyko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-02-07 16:01 Hin-Tak Leung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1391752398.15555.35.camel@ubuntu \
    --to=slava@dubeyko.com \
    --cc=htl10@users.sourceforge.net \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).