linux-mips
[Top] [All Lists]

Re: Decstation /150 kernel (cvs) problems

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: Decstation /150 kernel (cvs) problems
From: Florian Lohoff <flo@rfc822.org>
Date: Wed, 28 Nov 2001 14:19:34 +0100
Cc: "Houten K.H.C. van (Karel)" <vhouten@kpn.com>, linux-mips@oss.sgi.com, karel@sparta.research.kpn.com, algernon@debian.org
In-reply-to: <Pine.GSO.3.96.1011127180947.440K-100000@delta.ds2.pg.gda.pl>
Organization: rfc822 - pure communication
References: <20011127163602.C9282@paradigm.rfc822.org> <Pine.GSO.3.96.1011127180947.440K-100000@delta.ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.23i
On Tue, Nov 27, 2001 at 06:23:11PM +0100, Maciej W. Rozycki wrote:
> On Tue, 27 Nov 2001, Florian Lohoff wrote:
> > This is mostly what i do - As the ext2 code loads in the whole file
> > as a chunk i am loading it after the booloader - Then copy it to the
> > end of the first 8Megs (Which is the minimum memory on a decstation)
> > and then copy the chunks marked PROGBITS to their final location.
> 
>  That's ugly -- isn't there a possibility to read a file on a
> block-by-block basis?
> 

I am using the libext2 which basically might do that - i am unshure.
I am currently using 

retval=ext2fs_block_iterate(fs, inode, 0, 0, delo_dump_block, 0);

Which basically loads in all the blocks by calling "delo_dump_block"
for each block with the block on the device to load and the block number
this is in the file.

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
Nine nineth on september the 9th              Welcome to the new billenium

Attachment: pgp6pdiMg5bNU.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>