home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / mint / ramfs / readme.1st < prev    next >
Text File  |  1993-08-03  |  2KB  |  42 lines

  1.  
  2.          RAMFS.XFS: A resizable ramdisk file system for MiNT
  3.  
  4. In MiNT's documentation, Eric Smith stated that it should be quite easy
  5. to implement "nifty things such as resizable ramdisks" using loadable
  6. file systems.  It's the simplest file system one can imagine, but I
  7. didn't find one anywhere, so I wrote it. 
  8.  
  9. This ramdisk allocates dynamically as much memory as it needs.  As you
  10. might expect, he won't work too well with programs which allocate all
  11. the memory; if you want to use it as a temporary directory for the GCC,
  12. you'll have to lower the _stksize of the executables to a reasonable
  13. value (48 Kbyte seems to be enough).
  14.  
  15. This disk installs itself as drive R: -- it can be changed by modifying
  16. the RAMDRV constant in ramfs.c.  Low-level bios functions like getbpb()
  17. and rwabs() will probably yield strange results on this drive.  The
  18. filesystem is case-insensitive (case is preserved, but ignored), and
  19. filenames can be up to 29 characters long (this is the RAMFILE_MAX
  20. constant).  All the rwx bits and uid/gid stuff are supported.  Only the
  21. last-modification time of a file is recorded; the ctime and atime fields
  22. are not implemented.  Symbolic links are allowed, hard links aren't. 
  23. File sharing modes are implemented; file locking isn't. You can move a
  24. file, directory or link across directories.
  25.  
  26. You can "delete" an open file: the actual deletion will take place when
  27. the file is closed. 
  28.  
  29. You cannot seek() past the end of a file. 
  30.  
  31. The results of the Dfree() function shouldn't be taken too seriously,
  32. especially the amount of free memory.
  33.  
  34. There is little originality in the code -- it's an almost-verbatim copy
  35. of the shmfs.c file of the MiNT distribution.  However, it can be useful
  36. as a skeleton for more important projects; feel free to modify it.
  37.  
  38.                     Thierry Bousch, april 1993
  39.  
  40.                 Internet: bousch@suntopo.matups.fr
  41.                 Fidonet:  Thierry.Bousch at 2:320/100.9
  42.