[Info-vax] INDEXF.SYS
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Sat Jan 28 06:58:01 EST 2012
In article <51eb1bfe-7583-4b10-a0ba-2ef162e333c1 at o14g2000vbo.googlegroups.com>, hb <becker.avd at gmail.com> writes:
>On Jan 28, 1:02=A0am, JF Mezei <jfmezei.spam... at vaxination.ca> wrote:
>
>> INDEXF doesn't know what directory the
>> file is in.
>
>Kirby McCoy (1990), VMS File System Internals, Digital Press, ISBN
>1-55558-056-4 page 28:
>FH2$W_BACKLINK - Back link file ID. ... It contains the file ID of the
>directory file ...
>
>dump/header shows it as
> Back link file identification: (131439,82,0)
It knows then the file is in a directory but this is NOT maintained
if ANALYZE/DISK/REPAIR is used.
$ SET DEF DSA1:[000000]
$ CREATE/DIRECTORY [MISSING_DIRECTORY]
$ SET DEFAULT [MISSING_DIRECTORY]
$ COPY NL: MISSING_FILE.TXT
$ DUMP/HEADER/BLOCK=COUNT=0 MISSING_FILE.TXT
Dump of file DSA1:[MISSING_DIRECTORY]MISSING_FILE.TXT;1 on 28-JAN-2012 06:46:12.53
File ID (9443,4,0) End of file block 0 / Allocated 0
File Header
Header area
Identification area offset: 40
Map area offset: 100
Access control area offset: 255
Reserved area offset: 255
Extension segment number: 0
Structure level and version: 2, 1
File identification: (9443,4,0)
Extension file identification: (0,0,0)
:
:
Back link file identification: (9419,4,0)
:
:
$ SET FILE/NODIRECTORY MISSING_DIRECTORY.DIR
$ DELETE MISSING_DIRECTORY.DIR;
$ ANALYZE/DISK/REPAIR DSA1:
$ ANALYZE/DISK/REPAIR DSA1:
Analyze/Disk_Structure/Repair for _DSA1: started on 28-JAN-2012 06:48:43.88
%ANALDISK-I-OPENQUOTA, error opening QUOTA.SYS
-SYSTEM-W-NOSUCHFILE, no such file
%ANALDISK-W-LOSTHEADER, file (9443,4,0) MISSING_FILE.TXT;1
not found in a directory
$ SET DEFAULT DSA1:[SYSLOST]
$ DIRECTORY
Directory DSA1:[SYSLOST]
MISSING_FILE.TXT;1
Total of 1 file.
$ DUMP/HEADER/BLOCK=COUNT=0 MISSING_FILE.TXT
Dump of file DSA1:[SYSLOST]MISSING_FILE.TXT;1 on 28-JAN-2012 06:50:45.94
File ID (9443,4,0) End of file block 0 / Allocated 0
File Header
Header area
Identification area offset: 40
Map area offset: 100
Access control area offset: 255
Reserved area offset: 255
Extension segment number: 0
Structure level and version: 2, 1
File identification: (9443,4,0)
Extension file identification: (0,0,0)
VAX-11 RMS attributes
:
:
Back link file identification: (9419,5,0)
:
:
I think that the OP is trying to figure out a [SYSLOST] directory full of
files. Since the backlink is now that of the [SYSLOST] directory, that's
not going to help. The proper thing to do would first be ANALYZE/DISK to
find the files not found in a directory. Then collect the backlinks from
the headers of these files BEFORE doing an ANALYZE/DISK/REPAIR. That way
there is a way to create some relationship amongst the files collected by
the /REPAIR.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
Well I speak to machines with the voice of humanity.
More information about the Info-vax
mailing list