home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / programm / 4252 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.0 KB

  1. Xref: sparky comp.unix.programmer:4252 comp.unix.internals:1680 comp.sys.hp:9202
  2. Newsgroups: comp.unix.programmer,comp.unix.internals,comp.sys.hp
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!cunews!nrcnet0!bnrgate!bwdls61!bnr.ca!mleech
  4. From: mleech@bnr.ca (Marcus Leech)
  5. Subject: Re: inode to filename
  6. Message-ID: <1992Aug12.144032.6417@bwdls61.bnr.ca>
  7. Sender: usenet@bwdls61.bnr.ca (Use Net)
  8. Nntp-Posting-Host: bwdlh529
  9. Organization: Bell-Northern Research, Information Techology Division
  10. References: <1992Aug06.172513.4063@CS.ORST.EDU> <1992Aug07.131925.10902@bnr.uk> <1992Aug11.164753.13726@ssd.ukpoit.co.uk>
  11. Date: Wed, 12 Aug 1992 14:40:32 GMT
  12. Lines: 25
  13.  
  14. In article <1992Aug11.164753.13726@ssd.ukpoit.co.uk>, alan@ssd.ukpoit.co.uk (Alan Barclay) writes:
  15. |> I don't see it as a weakness, if there was a one to one relationship
  16. |> 
  17. |>  [MS-DOS references delated].
  18. |> I don't see the need to refer to a file from a inode number anyway,
  19. |> the most common you can get a inode number is though stat or fstat,
  20. |> and presumably you knew the filename in the past.
  21. A common reason for wanting to do this is to determine what's going on in
  22.   your system.  Which processes have which files open, etc.  This *is*
  23.   useful, and UNIX has traditionally (and continues to be) weak in the areas
  24.   of effective system management mechanisms.
  25.  
  26. The traditional argument for not storing such information in the kernel
  27.   has been "too much space".  Memory is now quite cheap, and with clever
  28.   data structures, you don't pay that much for keeping filename<--->process
  29.   mappings around.  If, for example, you recognize that there is a very
  30.   high degree of shared name space, you can take advantage of that fact to
  31.   dramatically reduce the storage requirements.
  32.  
  33. In this *particular area*, VMS is better.
  34.  
  35. -- 
  36. Marcus Leech, 4Y11             Bell-Northern Research  |opinions expressed
  37. mleech@bnr.ca                  P.O. Box 3511, Stn. C   |are my own, and not
  38. ml@ve3mdl.ampr.org             Ottawa, ON, CAN K1Y 4H7 |necessarily BNRs
  39.