Re: Decstation /150 kernel (cvs) problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

PGP signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux