Return to BSD News archive
Xref: sserve comp.os.linux.development:2014 comp.os.386bsd.development:1318 comp.os.386bsd.misc:1264
Path: sserve!newshost.anu.edu.au!munnari.oz.au!network.ucsd.edu!library.ucla.edu!europa.eng.gtefsd.com!howland.reston.ans.net!xlink.net!subnet.sub.net!smurf.sub.org!smurf.sub.org!not-for-mail
From: urlichs@smurf.sub.org (Matthias Urlichs)
Newsgroups: comp.os.linux.development,comp.os.386bsd.development,comp.os.386bsd.misc
Subject: Re: Has anyone written a Mac FS or Mac FS Access utilities for Linux or 386BSD?
Date: 16 Oct 1993 21:01:19 +0100
Organization: Smurf-O-Box, Nuernberg, FRG
Lines: 38
Message-ID: <29pjuf$fd@smurf.sub.org>
References: <CEv6Co.MA1.3@cs.cmu.edu> <29o4a1$r6u@u.cc.utah.edu> <29otpb$s8a@news.u.washington.edu> <CGD.93Oct16065256@eden.cs.berkeley.edu>
NNTP-Posting-Host: localhost
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
In comp.os.linux.development, article <CGD.93Oct16065256@eden.cs.berkeley.edu>,
cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou) writes:
>
> hmm. A/UX does something like:
> foo data fork
> %foo resource fork
>
> and i dunno what for the finder info...
>
This is AppleDouble format, and the finder info is included in the %foo file.
If you do it that way, you'll get the added benefit of being able to export
the Mac filesystem via NFS... there's at least one NFS client for the Mac
(NFS/Share) which understands AppleDouble.
The Apple HFS stuff is described in Inside Mac:Files; AppleDouble is
available electronically.
The Mac directory is organized as a B*-tree. Therefore, it'll probably be too
much work to write a read/write HFS simulation. Read-only should be fairly
easy. In fact, I've once written a small program to extract files from a
semi-corrupt HFS disk (just one of these quick hacks, but the tape drive was
with a friend and this way was faster ;-) which I can mail to anybody who is
_really_ interested in pursuing this.
Next step: Make Linux understand Apple's partitioning scheme and directly
mount Mac disks and CD-ROMs... next step: implement the BSD FFS so that I can
reuse the big FTP archive disk which now hangs off the A/UX machine without
reloading everything from tape...
--
People who are always taking care of their health are like misers, who
are hoarding a treasure which they have never spirit enough to enjoy.
-- Sterne
--
Matthias Urlichs \ XLink-POP Nürnberg | EMail: urlichs@smurf.sub.org
Schleiermacherstraße 12 \ Unix+Linux+Mac | Phone: ...please use email.
90491 Nürnberg (Germany) \ Consulting+Networking+Programming+etc'ing 42