2002-01-25 17:18:55

by John Kodis

[permalink] [raw]
Subject: Mounting OS-X "Unix" filesystems on Linux

I'm trying to mount an OS-X Unix filesystem on Linux. I haven't had
any luck at this, and wondered whether this is a known problem, or if
I'm doing something wrong.

I formatted a zip disk on a Mac OS-X, selecting the "Unix" filesystem
type and no partitions. I then inserted this disk in the /dev/hdd,
the zip drive on my PC. I tried mounting hdd and hdd1 through hdd4
using types of auto, ufs, udf, sysv, and one or two others, all to no
avail.

--
John Kodis Goddard Space Flight Center
[email protected] Greenbelt, Maryland, USA
Phone: 301-286-7376 Fax: 301-286-1771


2002-01-25 17:36:48

by DevilKin

[permalink] [raw]
Subject: Re: Mounting OS-X "Unix" filesystems on Linux

On Friday 25 January 2002 18:18, John Kodis wrote:
> I'm trying to mount an OS-X Unix filesystem on Linux. I haven't had
> any luck at this, and wondered whether this is a known problem, or if
> I'm doing something wrong.
>
> I formatted a zip disk on a Mac OS-X, selecting the "Unix" filesystem
> type and no partitions. I then inserted this disk in the /dev/hdd,
> the zip drive on my PC. I tried mounting hdd and hdd1 through hdd4
> using types of auto, ufs, udf, sysv, and one or two others, all to no
> avail.

My guess is that you'll probably need to compile support for 'advanced
partitions', as you can find in menuconfig under Filesystems - Partition
Types. I have no idea which one, though. That'll probably trail and error.

DK

2002-01-25 19:23:51

by John Kodis

[permalink] [raw]
Subject: Re: Mounting OS-X "Unix" filesystems on Linux

On Fri, Jan 25, 2002 at 07:59:26PM +0100, Christoph Hellwig wrote:

> MacOSX uses two main filesystem types:
>
> HFS+ filesystem of the old MacOS
> UFS/FFS the BSD fast filling system.
>
> The first one is not supported at all by the stock Linux tree, but I
> think an eraly implementation exists out-of-tree.
> For UFS there is support in the current kernel, although it is slightly
> buggy and eats filesystems when writing. There are many ufs subtypes,
> and I'm not sure whether OSX supports 4.4BSD-style or OpenStep-style
> ones. You should try both (ufstype=44bsd or ufstype=openstep mount
> options).

That's what I was missing. I can mount a Mac OS-X "Unix" filesystem
on the Linux 2.4.9-7 kernel supplied with RHL 7.2, but I have to
specify a type of ufs and supply both the ro and ufstype=openstep
options to the mount command. Too bad about the lack of write
support, but I'm sure someone out there is working on that. Thanks
for your help.

--
John Kodis Goddard Space Flight Center
[email protected] Greenbelt, Maryland, USA
Phone: 301-286-7376 Fax: 301-286-1771

2002-01-27 12:32:34

by Horst von Brand

[permalink] [raw]
Subject: Re: Mounting OS-X "Unix" filesystems on Linux

John Kodis <[email protected]> said:
> I'm trying to mount an OS-X Unix filesystem on Linux. I haven't had
> any luck at this, and wondered whether this is a known problem, or if
> I'm doing something wrong.
>
> I formatted a zip disk on a Mac OS-X, selecting the "Unix" filesystem
> type and no partitions. I then inserted this disk in the /dev/hdd,
> the zip drive on my PC. I tried mounting hdd and hdd1 through hdd4
> using types of auto, ufs, udf, sysv, and one or two others, all to no
> avail.

Try fdisk(8) on it, it might tell you of any strange partitioning. Or the
Mac might have written to the device (not a partition). Get hold of the
first Kb or so of each partition, file(1) might be able to find out what it
is.

Good luck!
--
Horst von Brand http://counter.li.org # 22616