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