Make Problem with FS flash

Joel Sherrill joel.sherrill at
Mon Dec 11 16:25:25 UTC 2000

Lots of questions .. :)

"Fernando RUIZ CASAS (E-mail)" wrote:
> Hi rtems members,
>   I try build a FS flash file system.
>   The flash driver works ok with a sector erase cache memory.
>   It is not a harddisk but it works very well.

Be warned .. the IMFS is not as block oriented as it needs to
be to store all data in Flash.  I posted on this a while back.

>   To build a new fs I think that the rule is reply imfs directory.
>   Rename all the files and the routines and
>   build a new libfs.a adding the new fs created.
>   Well,
>   after reply the 'imfs' directory into 'fmfs' (flash memory file system) in
> libfs repository
>   and change the in all the directories and run bootstrap in
> every directory in the libfs tree
>   my problem is the wrapup ''
>   after rebuild rtems with ./bit_rtems the make says that it can't find
> rules for the fmfs
>   Please, is it possible a bref example of for the wrapup
> directory?

The things involved in adding a directory should be:

  + Add that directory to the list of Makefiles in the 
    appropriate (c/src/libfs/
  + Make sure it is descended into by the parent directory
  + Added it to any appropriate wrapup/'s 
    following the style in that file.
  + Run bootstrap in the directory with the

>   Which is the recipe to add a new filesystem in the libfs repository?

Other than the above guidelines on Makefiles and, that
is about it.

>   Thanks in advance.
> P.S.:
>   Is Tanembaum the father of theory for the imfs file system or a newest
> theory is used?

The only (implicit) reference is the original UNIX article in the
Bell Labs Tech Journal which describes the direct, indirect, and
triply indirect block pointers.  I designed a simpler alternative
that achieved the same end result for the IMFS.  
>   Do I need read a new theory for a unix filesystem?

No.  It is pretty straightforward is you have read articles
on the design of classic unix filesystems.

NOTE: The parsing of filenames/paths is VERY unique to the 
RTEMS filesystem infrastructure.

>   Linux uses a new ext2 filesystem. Not a Minix filesystem.

The IMFS is its own beast.

Joel Sherrill, Ph.D.             Director of Research & Development
joel at                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

More information about the users mailing list