home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / fish / 771-780 / ff773 / detache / detache.doc < prev    next >
Text File  |  1992-12-05  |  3KB  |  60 lines

  1.  
  2.  
  3.                                   Detache
  4.  
  5.                           © 1992 Sebastiano Vigna
  6.  
  7. Detache is a very small and simple 2.04-only utility that will detache a
  8. file from the file system. Note that this is completely different than
  9. deleting a file: in particular, Detache works even if the file system did
  10. not restart properly because of a failed validation. This happens rather
  11. frequently if the Amiga crashes during a write on a hard disk partition: you
  12. get the dreaded "checksum error on block xxx" requester, and your hard disk
  13. is dead (no writes). Detache was written for people who don't like detaching
  14. manually files with DiskEd: if you know the name of the guilty file (the
  15. file the faulty block belongs to) you can simply detache it, and the file
  16. system will be happy to restart.
  17.  
  18. The parameters of Detache are
  19.  
  20. NAME/A,VALIDATE/S
  21.  
  22. where NAME is the name of the file (or directory) that you want to detache
  23. (detaching a directory will detache everything contained in it!). VALIDATE,
  24. if specified, will force the file system to validate the volume. This will
  25. happen automatically if you're detaching something on a non-validated
  26. partition, but the switch is there for maximum flexibility: in fact, the
  27. blocks of a detached file do NOT get back to the file system until the next
  28. validation.
  29.  
  30. Detache works by finding out where the given file (or directory) lives, and
  31. by resetting the pointers of the DOS hash chains in such a way that the file
  32. header block is skipped. This process is of course rather dangerous, since
  33. it implies an Exec device level write on your hard disk. Detache has
  34. redundant internal checks, so it should never do any harm. In any case, it
  35. prints whatever is doing, so you can guess what happened.
  36.  
  37. Detache understands the issues of non-512-bytes-block devices and of
  38. internationalized file systems, so it should work under any of the current
  39. versions of the OFS/FFS.
  40.  
  41. Detache is © 1992 Sebastiano Vigna and it's freely distributable as long as
  42. all of its files are included in their original form without additions,
  43. deletions, or modifications of any kind, and only a nominal fee is charged
  44. for its distribution. This software is provided "AS IS" without warranty of
  45. any kind, either expressed or implied. By using Detache, you agree to accept
  46. the entire risk as to the quality and performance of the program.
  47.  
  48. Comments, complaints, desiderata are welcome.
  49.  
  50.  
  51.     Sebastiano Vigna
  52.     Via Valparaiso 18
  53.     I-20144 Milano MI
  54.  
  55.     BIX: svigna
  56.     INTERNET: vigna@imiucca.csi.unimi.it
  57.     UUCP:cbmehq!cbmita!sebamiga!seba@cbmvax.cbm.commodore.com
  58.          ...{uunet|pyramid|rutgers}!cbmvax!cbmehq!cbmita!sebamiga!seba
  59.     FIDO: 2:332/607.28
  60.