Untar: Memory problem with big files (800k) in RTEMS filesystem: simple trial!]

Emmanuel Raguet raguet at crf.canon.fr
Fri Feb 11 10:38:20 UTC 2000


Oscar Martinez de la Torre wrote:
> 
> Hi!
> 
>         I'm trying to use Kaffe with RTEMS on ERC32.
> 
>         As I need a filesystem with the .class file and Klasses.jar
>         I tar them and ld and link with the executable (Kaffe0.exe)
>         But I have found several problems because of the
>         untar function and memory.
> 
>         Is anyone working with filesystem and big files (1Mb)?
>         I'm using linux and RPMs of snapshot 19991203!

I had problems with large files in filesystem. To solve
them, I have 
modified the rtems/c/src/lib/libc/imfs.h file.

the line 
        #define IMFS_MEMFILE_BYTES_PER_BLOCK     64 /* 512
*/
becomes 
        #define IMFS_MEMFILE_BYTES_PER_BLOCK     512

I work with RTEMS on pc386 and MCP750.

Maybe it could help...

-- 
       |        Emmanuel RAGUET          |  
     _ | CANON CRF - Communication Dept. | _  
    / )|    Tel: +33(0)2 99 87 96 47     |( \
   / / |    Fax: +33(0)2 99 84 11 30     | \ \
 _( (_ |  _  http://www.crf.canon.fr  _  | _) )_
(((\ \>|_/ )_________________________( \_|</ /))) 
(\\\\ \_/ /                           \ \_/ ////)
 \       /                             \       /
  \    _/                               \_    / 
  /   /                                   \   \



More information about the users mailing list