home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / alt_os / mint / mfs6011 / source / docs / minixfs.doc < prev    next >
Text File  |  1994-05-13  |  3KB  |  60 lines

  1.         MINIX.XFS is the minix filesystem driver. To use it copy MINIX.XFS to
  2. the root directory of whichever partition you start MiNT from. Reboot and
  3. you should get the startup Minixfs message. Any Minixfs partitions should then
  4. be immediately accessible.
  5.  
  6.     If you don't use MultiTOS then you should also copy nohog.acc into your
  7. root directory (or wherever you load accessories from).
  8.  
  9.     There isn't a great deal more to say about it from a normal users point
  10. of view. The only thing which can potentially cause trouble is filename 
  11. translation.
  12.  
  13.         The system calls specific to Minixfs are described in syscall.doc.
  14. These are only likely to interest programmers. 
  15.  
  16. FILENAME TRANSLATION
  17.  
  18.         Some programs cannot cope properly with mixed case filenames. In
  19. general a program which is not MiNT aware (and some which are) will only
  20. receive 13 chacacters of a filename. This is not the fault of Minixfs, in
  21. pre-MiNT days there was simply no way to pass more characters to a program.
  22. Some quite common (!) programs have problems, for example the desktop and
  23. the standard file selector. As a result Minixfs has the option to translate
  24. filenames to the standard TOS form, that is 8 characters with 3 character
  25. extension and upper case (this will be referred to as 8+3 format).
  26.  
  27.         Naturally this translation is not ideal and some conflicts may occur.
  28. The normal translation rule is to make the filename upper case and to retain
  29. the original extension. For example FooBARFilename.C becomes FOOBARFI.C. The
  30. basename and extension are cut back to 8 and 3 characters respectively as
  31. would be expected. Periods are replaced by commas in all but the extension.
  32.  
  33.         There are four cases where translation can occur and 4 'scopes'. The
  34. scope determines when a program should receive translation. The scopes are
  35. all, MiNT domain, TOS domain and neither. Usually a program that understands
  36. MiNT will run in MiNT domain; otherwise it will run in TOS domain. Clearly the 
  37. 'neither' scope means translation will never occur for that case and 'all'
  38. means it will always occur.
  39.  
  40.         The 'cases' are search, directory, creation and executability.
  41. When you attempt to access a file, 'search' is used. For example if the scope
  42. means translations occurs for a specific program then if the file
  43. FooBARFilename.C exists then it can be accessed as FOOBARFI.C. When a directory
  44. is listed 'directory' translation is used, thus FooBARFilename.C will appear 
  45. as FOOBARFI.C on e.g. the desktop.
  46.  
  47.         Creation is slightly different. This simply translates all filenames
  48. created to lower case. So a TOS program creating FOOBARFI.C will actually
  49. create foobarf.c . This can be useful for certain programs which translate
  50. filenames to upper case.
  51.  
  52.         Executability refers to creating files as well, if a file is created
  53. with the extensions ttp,gtp,tos,prg (either or mixed case) then the 'x' bit
  54. in the filename is set automatically. This makes sure executable programs
  55. stay executable. This is useful for utilities that copy files but are not
  56. aware of MiNT's extensions.
  57.  
  58.         You can set the translation modes to different values for different
  59. partitions, using the utility 'mfsconf'.
  60.