linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Brad Boyer <flar@marcus.pants.nu>
To: dave@thinbits.com (Dave Camp)
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: Would HFS+ read only capability be useful?
Date: Mon, 15 Nov 1999 00:50:51 -0800 (PST)	[thread overview]
Message-ID: <199911150850.AAA12382@marcus.pants.nu> (raw)
In-Reply-To: <199911140940.BAA29983@easystreet01.easystreet.com> from "Dave Camp" at Nov 14, 99 01:40:50 am


Dave Camp wrote:
> Since HFS+ development seems to be stalled, I was thinking of throwing my 
> hat in the ring. Now, before you call me crazy...

Actually, I got sick of waiting as well, and there are some other people who
I have talked to at various points.  I don't have hardly any code written,
but I have taken a lot of time, and I think I understand VFS pretty well.

> I've got the HFS+ spec. I've got code I wrote for MacOS that was going to be
> used for a disk repair program I was working on, but has been put on hold
> due to a lack of free time to complete it. The code implements objects for
> reading/manipulating the bitmap, volume header, both B*Tree's, extent lists,
> HFS wrapper volumes, etc. It also has a nice caching system built into it.

Depending on how it was written, it may be useful, but it may not.  Just remember
that if your code isn't GPL, it can't be directly used in the kernel.  If I get
some time soon, I'll set up some web pages with what I already have, and
people can help.  Since most of what I have at the moment is just in my head,
there isn't much to put on the net, but I'll try.

> There is enough code, I would think, to implement read only data fork access
> for HFS+ volumes without much trouble.
> 
> Problem is, I don't know anything about Linux coding, or more specifically,
> what the API looks like for adding a file system module (or whatever the
> proper term is).

Well, the hardest part I've found so far is the interfacing with the system,
athough understanding Apple's BTrees is a very close second.

> Would this be useful? If so, can someone suggest a book or two on coding in
> this area of Linux? Also, are there Unicode API's in Linux (since HFS+ uses
> Unicode to store filenames)?

As far as I know, there are no printed books on this topic, although there is
a book about device drivers.  The best option is the LDP or the kernel source
itself.  The kernel comes with a short description of VFS in the Documentation
directory, but it isn't very informative.  Mostly just a list of functions and
structures.  I learned from reading the kernel source, mostly.  There is some
Unicode support in the kernel for some of the MS filesystems, but I don't have
a good understanding of Unicode, so I can't really say how useful it is without
actually trying it.

	Brad Boyer
	flar@pants.nu


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

      reply	other threads:[~1999-11-15  8:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-14  9:40 Would HFS+ read only capability be useful? Dave Camp
1999-11-15  8:50 ` Brad Boyer [this message]

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=199911150850.AAA12382@marcus.pants.nu \
    --to=flar@marcus.pants.nu \
    --cc=dave@thinbits.com \
    --cc=linuxppc-dev@lists.linuxppc.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).