home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / misc / 27293 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  2.3 KB

  1. From: dn@hplb.hpl.hp.com (Daniel Neades)
  2. Date: Thu, 13 Aug 1992 14:05:30 GMT
  3. Subject: Re: Re: Idea for a unique delete?(for lack of a better description)
  4. Message-ID: <1992Aug13.140530.7273@hplb.hpl.hp.com>
  5. Organization: Hewlett-Packard Laboratories
  6. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!sdd.hp.com!hpscdc!hplextra!otter.hpl.hp.com!hpltoad!hpltoad!dn
  7. Newsgroups: comp.os.os2.misc
  8. References: <1992Aug13.111004.2582@kub.nl>
  9. Sender: news@hplb.hpl.hp.com (Usenet News Administrator)
  10. Reply-To: dn@hplb.hpl.hp.com (Daniel Neades)
  11. Lines: 41
  12. Nntp-Posting-Host: krakatoa.hpl.hp.com
  13.  
  14. In article <1992Aug13.111004.2582@kub.nl>, hoppie@kub.nl (Jeroen
  15. Hoppenbrouwers) writes:
  16. |>In article <1992Aug12.024411.3787@afit.af.mil>, fkilpatr@afit.af.mil
  17. |>(Freeman A. Kilpatrick) writes:
  18. |>>Why not just make a 'trash' directory, shadow it to the desktop, then
  19. |>
  20. |>(stuff deleted)
  21. |>
  22. |>I caught some people in this tread complaining about the Shredder not
  23. |>being able to recover shredded objects. Although you cannot open the
  24. |>shredder (reason why all Trashcan imitations posted so far are really
  25. |>useful), there *IS* a way to recover shredded items.
  26. |>
  27. |>Just add the DELDIR= line to your CONFIG.SYS (OS/2 install puts it
  28.  
  29. yeah, yeah...
  30.  
  31. |>UNDELETE former-filename-incl.-path
  32. |>
  33. |>So this is no hacked undelete that picks up disk sectors, but an official
  34. |>OS/2 utility that reads the deleted file back out the DELDIR directory.
  35. |>
  36. |>In this dir, files are stores in a "proprietary" manner and they are not
  37. |>visible with DIR. So, the trashcan approach is still better :-)
  38. |>but at least, with a very simple trick, you can recover from deletes.
  39. |>In fact, you can even recover from Empty Trash!  :-)
  40.  
  41. I'd hardly call setting the hidden attribute 'proprietary' :-)
  42.  
  43. The problem with using the undelete facility is that it makes file
  44. deletes much slower, particularly if you are deleting many small files (say, 
  45. a couple of hundred icons). The time taken to delete a file seems to
  46. exponentially increase with the number of files sitting in the DELDIR.
  47. Of course, it may just be me that finds this a problem so I'd be glad to
  48. here about other peoples' experience with DELDIR and UNDELETE.
  49.  
  50. BTW, I have a 486DX/25 (12Mb RAM) with a 10ms 245 IDE drive so I
  51. definitely think that this is a problem with OS/2 and not my hardware.
  52. I have no other performance related problems.
  53.  
  54. Daniel.
  55.