home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / discutils / _a_l / fsck / elim_help < prev    next >
Encoding:
Text File  |  1994-06-25  |  2.9 KB  |  90 lines

  1. eliminate (1.02) - file eliminator!
  2.  
  3. eliminate is a disc utility that eliminates a file from the directory but not
  4. from the disc map. This means that the disc space used by the file is lost
  5. (you will probably recover it using fsck). eliminate can effectively be useful
  6. only to remove the files that cannot be deleted in the usual way by RISC OS
  7. (for example a broken directory). 
  8.  
  9.  
  10. Usage
  11. -----
  12.  
  13. eliminate filename
  14.  
  15.  
  16. Why you could need eliminate
  17. ----------------------------
  18.  
  19. eliminate is one of the programs that you generally don't need to use but that
  20. sometimes can be very helpful. I think that the only use of eliminate is to
  21. delete a broken directory that cannot be removed by RISC OS. After the
  22. directory has been removed you should run fsck so that the disc space that
  23. was used by the directory will be relinked in a file. You can finally remove
  24. that file and gain some free space. Generally, all the files that were stored
  25. in the broken directory will be relinked by fsck too but you will not be able
  26. to have the original names and subdirectories back.
  27. If you find another use for eliminate I will be really pleased to hear from
  28. you.
  29.  
  30.  
  31. Disclaimer
  32. ----------
  33.  
  34. eliminate is a very dangerous program (since it remove files, corrupt the map
  35. and, obviously, writes to your disc). If you remove an important file and
  36. (for some obscure reason) fsck will not recover its content, I am sorry for
  37. you but I can't do nothing more since you are the only responsible for what
  38. you made!
  39. Actually eliminate is less dangerous than a common 'delete' because if you
  40. eliminate a files, the informations to retrieve it are still stored in the
  41. map and fsck should be able to give you the file back (but you will never
  42. recover its original name); on the other hand a delete will not 'corrupt'
  43. the map while eliminate will make it inconsistent.
  44.  
  45. Summing up: it's not wise to play with eliminate if you have no real reasons
  46. to use it.
  47.  
  48.  
  49. History
  50. -------
  51.  
  52. 1.00   First working version. Tried only on floppies...
  53. 1.01   Some test was done on HardDiscs (all successful). Updated to match
  54.        the changes in the common sources with fsck.
  55. 1.02   Auto-dismount the disc after the file has been eliminated.
  56.  
  57.  
  58. Thanks go to:
  59. -------------
  60.  
  61. - Keith Bailey who tried eliminate (successfully!) on his HardDisc.
  62. - the person who spread on Internet a document describing the E Format
  63.   structure.
  64. - Mohsen Alshayef for his !ArcTools, a very useful utility that allowed
  65.   me to search in the ROM FileCore module for some code...
  66.  
  67.  
  68. Conditions of use
  69. -----------------
  70.  
  71. eliminate can only be distributed with fsck and it's companion files.
  72. Read the !SHAREWARE file for the conditions of use and distribution of the
  73. whole package.
  74.  
  75.  
  76. I can be contacted at the following address:
  77.  
  78. Sergio Monesi
  79. Via Trento e Trieste 30
  80. 20046 Biassono (MI)
  81. Italy
  82.  
  83. E-mail address:
  84. pel0015@cdc8g5.cdc.polimi.it
  85. If you don't receive a reply (or if the message is bounced) I can also be
  86. contacted at:
  87. sergio@phantom.com
  88. or:
  89. sergio@g386bsd.first.gmd.de
  90.