home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / filing / nuke / nuke_help < prev   
Text File  |  1998-06-14  |  6KB  |  154 lines

  1. nuke (1.01d) - 'definitive' files eraser
  2.  
  3. nuke is a small disc utility that allows you to erase files from the disc
  4. surface, filling their sectors with '0's or with a user-definable string.
  5. nuke can also perform the same operation on all the free space of the disc so
  6. that you can delete all the files you want in the usual way (eg. from the
  7. filer) and then nuke the space they previously used on the disc.
  8.  
  9.  
  10. Usage
  11. -----
  12.  
  13. nuke [-options] [-s string] [-p pattern] [-n number] pathname
  14.   -f   erase all the free space on disc
  15.   -r   recurse in directories
  16.   -y   don't ask for confirmation before nuking
  17.   -s   fill nuked sectors with "string" instead of '0'
  18.   -p   fill nuked sectors with numeric "pattern" (32 bit value)
  19.   -R   fill nuked sectors with random data
  20.   -v   verbose mode
  21.   -n   overwrite the sectors "number" times
  22.   -m   military mode... for very paranoid people!
  23.  
  24. If "pathname" is a directory name the -r options must be specified (unless
  25. you use -f, in which case the directory name will be ignored and the free
  26. space will be nuked).
  27.  
  28. The -p option accepts numeric values (either decimal or hexadecimal preceded
  29. by '&') which are always converted to 32 bit values. Hence, if you want to
  30. fill the sectors with &11 you have to specify &11111111 otherwise the sectors
  31. will be filled with &11000000.
  32.  
  33. The -m option can be used together with -n and one between -R, -s and -p and
  34. it performs the following wiping operations:
  35.  
  36. * 'n' overwrites with random data (where 'n' is as specified by -n,
  37.   default to a single random overwrite) 
  38. * one overwrite with &AA55AA55 fill pattern
  39. * one overwrite with &55AA55AA fill pattern
  40. * one overwrite with &00000000 fill pattern
  41. * one overwrite with user-specified data (if the -R, -s or -p option is used,
  42.   otherwise default to another &00000000 fill pattern)
  43.  
  44.  
  45. Why can nuke be useful?
  46. -----------------------
  47.  
  48. I wrote this simple program since I am going to sell my old A410 and I don't
  49. like the idea that other people may be able to read some of my private data.
  50. In fact 'undeleting' a file is almost impossible on RISC OS, but someone can
  51. use a disc editor and (at least) read the text files (mails, sources, etc.)
  52. and eventually some file that is quite easy to identify (GIF, Draw, etc.).
  53. I think that nuke can be useful in a school or in any other environment where
  54. someone has to use a 'public' computer and doesn't want to leave some private
  55. (or compromising!) data on it.
  56.  
  57. I implemented the option to overwrite more than once the sectors because I
  58. have been told that it could be possible to read part of the data if the
  59. sector has been overwritten only once (using some particular equipment)... 
  60. I think this is a bit paranoid, though!
  61.  
  62. For paranoid people, the possibility to fill the sectors with numeric
  63. patterns allows to use anti-recovery values such as &AA55AA55 and
  64. &55AA55AA... Filling sectors with random data is also very useful for this
  65. sort of things...
  66.  
  67. Obviously, using the military option is probably the best way to satisfy very
  68. paranoid people (in particular -m -R which leaves no obvious sign of sectors
  69. nuking)... I doubt they'll find this *enough* but I can't do much more than
  70. this, sorry! :-)
  71.  
  72. The possibility to fill 'nuked' sectors with a user-defined string can be
  73. useful to leave some funny message to the eventual curious... especially if
  74. you *know* that someone will try to search for interesting text in the disc!
  75.  
  76. Since I think that nobody will use nuke, if you use it and/or if you find
  77. some use for it, I will be really pleased to hear from you!
  78.  
  79.  
  80. Notes
  81. -----
  82.  
  83. nuke only works on E-Format discs (it would be useless to use nuke into an
  84. image filing system, just nuke the whole image file!). nuke will not work on
  85. the new version of FileCore that will be supplied with the Phoebe 2100 (or
  86. whatever it will be called!) machine that Acorn will probably release in Q4
  87. 1998. You should absolutely avoid to run nuke on such a machine because it is
  88. possible that it will actually corrupt a new format disc...
  89.  
  90. The option to nuke the free space can be useful only if you want to 'clean' a
  91. disc (for example before selling it) but the files/directories-nuke should be
  92. better for 'everyday use' (!). In fact, overwriting all the free space can be
  93. a long operation (especially if the disc is mostly empty).
  94.  
  95. If nuke is stopped while it is working it may happen that you still have the
  96. files and the directories but they are already overwritten: in fact, nuke
  97. fills the sectors and then removes the files using a common 'wipe' command.
  98.  
  99.  
  100. Disclaimer
  101. ----------
  102.  
  103. nuke has been tested and always worked perfectly. Anyway, if it becomes crazy
  104. and it starts overwriting random sectors, I am sorry but I accept no
  105. responsibility for that! Use it at your own risk.
  106.  
  107.  
  108. History
  109. -------
  110.  
  111. 1.00  -- 28 Nov 94
  112. First released version.
  113.  
  114. 1.01a -- 07 Sep 95
  115. Added support for 'big' discs.
  116. 1.01b -- 07 Jun 98
  117. Added numeric pattern and random sector fill.
  118. 1.01c -- 12 Jun 98
  119. 1.01d -- 14 Jun 98
  120. Added 'military' option.
  121.  
  122.  
  123. Thanks go to:
  124. -------------
  125.  
  126. - Cristian Ghezzi for the idea to 'nuke' the free space
  127. - Julian Wright that recommended me to include the option to overwrite the
  128.   sectors more than once and found a use for it... 
  129. - Tony Hopstaken for paranoid suggestions and Nat Queen for even more
  130.   paranoid suggestions! ;-)
  131.  
  132.  
  133. Conditions of use
  134. -----------------
  135.  
  136. nuke is FreeWare: you can use and distribute it freely, provided that the
  137. whole archive is copied unaltered (including this help file).
  138.  
  139.  
  140. Contacting the Author
  141. ---------------------
  142.  
  143. Post:  Sergio Monesi
  144.        Via Trento e Trieste 30
  145.        20046 Biassono (MI)
  146.        Italy
  147.  
  148. EMail: msergio@tin.it
  149.        pel0015@cdc8g5.cdc.polimi.it
  150.        sergio@freebsd.first.gmd.de
  151.  
  152. WWW:   http://bounce.to/sergio/
  153.        (bouncing to http://www.alphawave.ltd.uk/sergio/ at the time of writing)
  154.