From: Matt Wilson <msw@redhat.com>
Subject: Re: Milo 2.2 (release)
Date: Mon, 15 Nov 1999 15:29:23 -0500 [thread overview]
Message-ID: <19991115152923.C12244@devserv.devel.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.00.9911091042480.24380-100000@wesley.informatik.uni-freiburg.de>
On Tue, Nov 09, 1999 at 10:46:17AM +0100, Stefan Reinauer wrote:
>
> Have fun and please send me thousands of comments....
Thanks for doing this work, Stefan. A few things. First, the ext2
reading code is not handling revision 1 ext2 filesystems. Revision 1
filesystems split the 16 bit length name_len field of the dirent into
two 8 bit fields, "file_type" and "name_len". Milo still uses the
ext2_dir_entry structrue and reads name_len as a 16 bit value, so you
get file lengths that are extraordinary long. For example, the 'etc'
entry of the '/' directory is read to be 515 bytes long. Since it's
checking to see that the lenths of the file you're looking for and the
dentry that you're looking at have the same length, nothing matches
and MILO fails to open the file.
Of course, 515 is just 0x0203, showing that it is a EXT2_FT_DIR (type
2) with entry length of 3. All we really need to do is a lot of 0xff
masking whenever you use a dentry->name_len.
There seems to be a problem reading 4096 byte block sizes. I've not
tracked down the exact problem here.
Stefan - could you send the .config of the kernel that you built
against? I'm having trouble with symbol resolution, probably because
I have too many drivers/subsystems turned on.
Thanks again.
Matt
msw@redhat.com
next prev parent reply other threads:[~1999-11-15 20:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-09 9:46 Milo 2.2 (release) Stefan Reinauer
1999-11-15 20:29 ` Matt Wilson [this message]
1999-11-16 2:43 ` Jeff Garzik
1999-11-16 3:16 ` Matt Wilson
1999-11-27 15:40 ` Milo 2.2 updates Stefan Reinauer
1999-12-07 22:39 ` Milo 2.2 (release) Ruediger Oertel
1999-12-07 23:55 ` Matt Wilson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox