home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / vms / 14228 < prev    next >
Encoding:
Text File  |  1992-08-27  |  2.3 KB  |  47 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!eng.ufl.edu!robot.nuceng.ufl.edu!sysop                           
  3. From: sysop                           
  4. Subject: RE: Bug w/ self-referencing backlink pointer.
  5. Message-ID: <27AUG199222035262@robot.nuceng.ufl.edu>
  6. News-Software: VAX/VMS VNEWS 1.4-b1  
  7. Sender: news@eng.ufl.edu (Usenet Diskhog System)
  8. Organization: Department of Nuclear Engineering Sciences
  9. Date: 27 Aug 1992 22:03 EST  
  10. Lines: 35
  11.  
  12. Net,
  13.  
  14.     Recently I posted a problem with ANALYZE/DISK[/REPAIR] and bunches
  15. of files with backlinks to null directory (ie. []file.name).  Turned out that
  16. ANALYZE was hanging in a loop because a directory (also full of files) I had
  17. deleted had somehow ended up with a backlink to itself while getting deleted.
  18. It never got deleted; just ended up in the cache.  (I believe I used DELTREE,
  19. which was posted sowhere on news not to long ago, to do the delete.)  This
  20. caused a bottleneck of deleted files!
  21.  
  22.     Thanks to Rick Desko for responding to my e-mail, even after DSS could
  23. not seem to help me.  He provided me with a MACRO program that he wrote
  24. (just recently on a similar case) that turned of the directory attribute bit
  25. so that ANALYZE wouldn't loop, and move the file(s) to [SYSLOST]. Thanks Rick!
  26.  
  27.     Out of this dilemma I wrote a fortran program that will let you enter
  28. a file by its' FID into a directory.  This way, if you know the FID, even 
  29. though it no longer has a directory entry anymore (as was my case), you may
  30. enter the file and then properly delete it (or simply have multiple links for
  31. existing files like:  $ set file/enter=xxxx).
  32.  
  33.     I am posting the source for ENTER on vmsnet.sources.  Right now it
  34. runs strictly interactive.  I'm probably going to add a CLD so that it will
  35. run a little smoother and allow command line execution, and will eventually
  36. repost with the mods.
  37.  
  38. Thanks for reading,
  39. -S
  40.  
  41. -------------------------------------------------------------------------------
  42. Shawn A. Clifford, System Manager | Internet: sysop@robot.nuceng.ufl.edu
  43. Nuclear Engineering Sciences      |        sac@eng.ufl.edu
  44. University of Florida             | Home Phone: 904/335-4914
  45. Gainesville, Florida  32611       | Work Phone: 904/392-1450  FAX: 904/392-3380
  46. -------------------------------------------------------------------------------
  47.