*BSD News Article 23714


Return to BSD News archive

Xref: sserve comp.os.linux.development:2585 comp.os.386bsd.development:1429 comp.os.386bsd.misc:1494
Newsgroups: comp.os.linux.development,comp.os.386bsd.development,comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!metro!seagoon.newcastle.edu.au!peach.newcastle.edu.au!c9107786
From: c9107786@peach.newcastle.edu.au (David Leonard)
Subject: Re: Has anyone written a Mac FS or Mac FS Access utilities for Linux or 386BSD?
Message-ID: <c9107786.753120740@peach.newcastle.edu.au>
Sender: news@seagoon.newcastle.edu.au
Organization: Uni of Newcastle, Australia
References: <CEv6Co.MA1.3@cs.cmu.edu> <29otpb$s8a@news.u.washington.edu> <29vld0$n11@news.delphi.com> <CF7M7I.Enw@wg.saar.de> <2a4l4h$bqs@lasalle.cs.columbia.edu>
Date: Fri, 12 Nov 1993 16:12:20 GMT
Lines: 37

lih@news.cs.columbia.edu (Andrew "Fuz" Lih) writes:

>In article <CF7M7I.Enw@wg.saar.de>, Patrick Schaaf <bof@wg.saar.de> wrote:
>>cshaulis@news.delphi.com (CSHAULIS@DELPHI.COM) writes:
>>>[on MAC files and their forks, and how they might map to files under Linux]
>>
>>Would it be a Bad Thing to have files that, in addition to being a normal
>>file (the data fork), implement the various directory ops? i.e. access the
>>data fork as 'foo`, and other forks as 'foo/thingie` and so on?
>>
>>having strange ideas...

>Not so strange: that's how the Apple UNIX File System in the Columbia
>AppleTalk Package does it.  It's been in active use for over 5 years now.

CAP does that. Its quite a natural thing to do in a UFS, to put things in
directories. The macintosh file "foo" would appear as:

    ./foo              (the data fork)
    ./.resource/foo    (the resource fork)
    ./.finderinfo/foo  (other stuff)

The group and owner of the file are used for the Sharing stuff (naturally)

I dont think you should nasty up the kernel to handle non-flat (bent?) files,
just like I dont think you should nasty it up for non-flat memory addr spaces.

What would also be tricky is a program similar to AccessPC for the Mac that
possibly supplemented the Install program provided with the ALICE project,
that would allow you to mount a UFS under MacOS. I guess all this will come
in Time.

Dave Leonard

Regarding MacBSD: I too checked in the cupboard and found a tin of Miracle 
Whip and a packet of OREOs. Bummer.