home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!wupost!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uihepa.hep.uiuc.edu!MAKO
- From: mako@uihepa.hep.uiuc.edu ("Makoto Shimojima, Univ of Tsukuba/CDF")
- Subject: Re: LBN => Filename / FID => Filename ??
- References: <1992Aug17.165506.21539@oracle.pnl.gov>,<1992Aug19.110649.26298@micrognosis.co.uk>
- Message-ID: <Bt9q1B.Lw6@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: mako@uihepa.hep.uiuc.edu
- Organization: High Energy Physics, University of Illinois, Urbana-Champaign
- Date: Thu, 20 Aug 1992 06:00:44 GMT
- Lines: 34
-
- > Does anyone have a way to take a logical block number (LBN) and determine
- > which file it's part of? [...] The same goes for the File IDs (e.g.
- > (135,1,0) ) reported by utilities like ANALYZE/DISK.
-
- Use Joe Meadows's FIND utility:
-
- FIND
-
- Examples
-
- FID
-
- If you know a file id, you can display the info on that file via:
- $ FIND/DISPLAY=ALL/FILE_ID=(1,4)
- This would display INDEXF.SYS [fid = (1,1,0)] and 000000.DIR (4,4,0).
- Note that only the first number of the File ID should be specified.
-
- LBN
-
- Suppose you have a block go bad, you know the LBN, and you want to
- know the file which contains it:
- $ FIND/LBN=19500
- would display the file containing that LBN.
-
- Another way (is this cheating?) would be to search for any file
- marked corrupt:
- $ FIND/CHARACTERISTICS=FILE_CORRUPT
-
- Perhaps you want to see what LBNs are in a specific file,
- $ FIND/DISPLAY=LBN/FULLNAME=EXAMPLE.TXT
-
- mako
-
- PS: FIND is available from vmsserv@fhcrcvax mail server.
-