Subject: Re: FFS compatibility
To: Matthias Drochner <email@example.com>
From: Frank van der Linden <firstname.lastname@example.org>
Date: 09/08/1998 10:33:31
On Mon, Sep 07, 1998 at 09:53:34PM +0200, Matthias Drochner wrote:
> When I tried to access an ULTRIX filesystem from
> NetBSD-current/pmax I found that the support for the
> old style BSD filesystems got broken between 1.3 and
> This is due to a lot of checks for "old style" filesystems
> which use "mnt->mnt_maxsymlinklen == 0". This should
> be "<= 0"; at least for me the "maxsymlinklen" is -1 with
> the old filesystems.
Right. I've fixed the instances that were wrong; apparently it
happened durng the FFS_EI changes.
> There is a lot of unused flag bits in struct ufsmount->um_flags,
> so I propose to dedicate one of them to the "old filesystem"
> property, and to clean up the whole mess.
That would be a cleaner way of doing things. Beware though, things
like fsck can't look at this in-core data, so you'll still need the