Subject: Re: [Fwd: mount_ext2fs]
To: None <cwood@ichips.intel.com>
From: Ken Nakata <kenn@synap.ne.jp>
List: port-mac68k
Date: 07/16/1998 02:17:08
Colin Wood wrote:
> I think that Hauke was right and the NetBSD/mac68k kernel doesn't
> recognize ext2fs filesystems as he states below:
>
> > > The MacBSD kernel evaluates the native Macintosh partition table and fakes
> > > a NetBSD disklabel from it. There is definitely no code in there to label a
> > > partition as "ext2fs" or whatever, so if mount_ext2fs(8) looks at the
> > > partition type, it sees "4.2BSD" and you lose.
> > >
> > > Yet another reason to implement native disklabels...
I think this is somehow irrelevant as to why you cannot mount_ext2fs a
partition formatted by MacLinux. At least, mount_* commands doesn't
seem to care what type the partition is labeled, nor does mount(2).
It leads me to conclude that, as long as MacLinux follows the MacOS
partitioning scheme, there should be nothing to prevent us from
mounting ext2fs-formatted partitions.
The current ext2fs seems to be aware of different endians, but 1.3.2
may not be (though I'm not sure, not having checked the actual code).
Perhaps, the latest current snapshot might help.
Ken