Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2001 12:21:10 -0400 (EDT)
From:      "Albert D. Cahalan" <acahalan@cs.uml.edu>
To:        freebsd-hackers@FreeBSD.ORG
Cc:        ticso@mail.cicely.de, simond@irrelevant.org, rdm@cfcl.com
Subject:   Re: compatibility of UFS-partitioned FireWire drives
Message-ID:  <200107011621.f61GLAp388837@saturn.cs.uml.edu>

next in thread | raw e-mail | index | archive | help

Bernd Walter writes:
>On Sun, Jul 01, 2001 at 08:02:20AM +0100, simond@irrelevant.org wrote:
>> On Sat, Jun 30, 2001 at 02:59:57PM -0700, Rich Morin wrote:

>>> I have a luggable FireWire drive which I am considering using for
>>> backups and data mobility on a variety of machines and operating
>>> systems (roughly, *BSD, Mac OS X, and (eventually) Linux).
>>>
>>> I'd welcome any suggestions as to things to do or avoid.
>>> I'd rather not get a ways down the road and discover that
>>> I need to repartition the disc for some obscure reason...
>>
>> Unfortunately there's no FireWire support in FreeBSD yet, but
>> once there is I don't see why UFS partitions wouldn't work :)
>
> Because Partition tables are different and UFS is byte order
> dependend. Mac OS X Platforms have a different byte order than
> FreeBSD Platforms so it won't work in this case. You might have
> a chance sharing i386 FreeBSD with i386 linux or ppc NetBSD
> with ppc Max OS X - but keep in mind that you can't use
> OS dependend extensions to UFS and writing may be unhealthy.

Any Linux box can share with most anything. Byte order is not
a problem. Mac and FreeBSD partition tables work. Supported UFS
variants are:

        old     old format of ufs
                default value, supported os read-only

        44bsd   used in FreeBSD, NetBSD, OpenBSD
                supported os read-write

        sun     used in SunOS (Solaris)
                supported as read-write

        sunx86  used in SunOS for Intel (Solarisx86)
                supported as read-write

        nextstep
                used in NextStep
                supported as read-only

        nextstep-cd
                used for NextStep CDROMs (block_size == 2048)
                supported as read-only

        openstep
                used in OpenStep
                supported as read-only

        hp
                used in HP-UX (confusingly called "hfs" by HP)
                supported as read-only

So try the "44bsd" mount option on whatever partition MacOS X uses.
(there might be an unused boot partition or some other odd thing)
You can also use an unpartitioned disk if MacOS X and FooBSD will
both be happy with that.

Now about that byte order... Got the Linux box on a LAN with either
of the others? Problem solved. If not, how do you like FAT filesystems?
(use FAT32, and mount as "vfat" on the Linux box for long filenames)

If you don't mind using command-line tools, you should be able
to get "htools" or "hfstools" (forgot the name) for FreeBSD.
This lets you access an HFS filesystem. The Linux box can mount
HFS directly. You could also look into the Mac emulator called
"Executer" from Ardi, which might run on FreeBSD.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107011621.f61GLAp388837>