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

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!wupost!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uihepa.hep.uiuc.edu!MAKO
  3. From: mako@uihepa.hep.uiuc.edu ("Makoto Shimojima, Univ of Tsukuba/CDF")
  4. Subject: Re: LBN => Filename / FID => Filename ??
  5. References: <1992Aug17.165506.21539@oracle.pnl.gov>,<1992Aug19.110649.26298@micrognosis.co.uk>
  6. Message-ID: <Bt9q1B.Lw6@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Reply-To: mako@uihepa.hep.uiuc.edu
  9. Organization: High Energy Physics, University of Illinois, Urbana-Champaign
  10. Date: Thu, 20 Aug 1992 06:00:44 GMT
  11. Lines: 34
  12.  
  13. > Does anyone have a way to take a logical block number (LBN) and determine
  14. > which file it's part of? [...] The same goes for the File IDs (e.g.
  15. > (135,1,0) ) reported by utilities like ANALYZE/DISK.
  16.  
  17. Use Joe Meadows's FIND utility:
  18.  
  19. FIND
  20.  
  21.   Examples
  22.  
  23.     FID
  24.  
  25.        If you know a file id, you can display the info on that file via:
  26.             $ FIND/DISPLAY=ALL/FILE_ID=(1,4)
  27.        This would display INDEXF.SYS [fid = (1,1,0)] and 000000.DIR (4,4,0).
  28.        Note that only the first number of the File ID should be specified.
  29.  
  30.     LBN
  31.  
  32.        Suppose you have a block go bad, you know the LBN, and  you  want  to
  33.        know the file which contains it:
  34.             $ FIND/LBN=19500
  35.        would display the file containing that LBN.
  36.  
  37.        Another way (is this cheating?) would  be  to  search  for  any  file
  38.        marked corrupt:
  39.             $ FIND/CHARACTERISTICS=FILE_CORRUPT
  40.  
  41.        Perhaps you want to see what LBNs are in a specific file,
  42.             $ FIND/DISPLAY=LBN/FULLNAME=EXAMPLE.TXT
  43.  
  44.                         mako
  45.  
  46. PS: FIND is available from vmsserv@fhcrcvax mail server.
  47.