home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / minix / 4974 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.5 KB  |  38 lines

  1. Newsgroups: comp.os.minix
  2. Path: sparky!uunet!mcsun!sun4nl!star.cs.vu.nl!kjb
  3. From: kjb@cs.vu.nl (Kees J. Bot)
  4. Subject: Re: strange behavior(?)
  5. Message-ID: <BzoL9v.Fv1@cs.vu.nl>
  6. Sender: news@cs.vu.nl
  7. Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
  8. References: <1992Dec22.162113.22648@udel.edu>
  9. Date: Tue, 22 Dec 1992 22:03:30 GMT
  10. Lines: 26
  11.  
  12. Rory <cfctech%opusnet%opus@ph.gmr.com> writes:
  13.  
  14. >Hello all! 
  15.  
  16. >Can someone fill me on on why ls has this behavior?  I'm using Minix 1.5.10.
  17. >    If more than 5 partitions are mounted, "ls -l" will "stumble"
  18. >    every time it comes to a file with a different owner or group.
  19.  
  20. With five mounted partitions your block cache becomes crowded with bit
  21. map blocks.  Each time ls has to print another user name it calls
  22. getpwnam(3), which reads /etc/passwd, that is no longer in the cache...
  23.  
  24. >I'm getting a little frusterated with the long delays in ls when trying to 
  25. >upgrade to 1.6.23.  (I know, just don't mount the extra partitions... but that
  26. >kind of defeats the ability to access what I want when I want -- which is 
  27. >often.) 
  28.  
  29. Build user/group name caching into ls.  With a little bit of luck it
  30. will grow to a size that the old compiler will choke on more reliably.
  31.  
  32. (I do hope I got that/which correct a few lines back, I still don't know
  33. the difference.  (Dutch only has one word for it (ignoring gender)).
  34. Anyone got a good rule?  One they use to teach the kiddies?)
  35. --
  36.                             Kees J. Bot  (kjb@cs.vu.nl)
  37.                   Systems Programmer, Vrije Universiteit Amsterdam
  38.