home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / bsd / 10397 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.4 KB

  1. Path: sparky!uunet!news.centerline.com!noc.near.net!hri.com!spool.mu.edu!agate!agate.berkeley.edu!cgd
  2. From: cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: Almost Free Symbolic Links (source code)
  5. Message-ID: <CGD.92Dec18140400@eden.CS.Berkeley.EDU>
  6. Date: 18 Dec 92 19:04:00 GMT
  7. References: <39777@hoptoad.uucp> <id.J2UV.H5K@ferranti.com>
  8.     <DERAADT.92Dec17125257@newt.newt.cuc.ab.ca>
  9. Organization: Kernel Hackers 'r' Us
  10. Lines: 19
  11. NNTP-Posting-Host: eden.cs.berkeley.edu
  12. In-reply-to: deraadt@newt.cuc.ab.ca's message of 17 Dec 92 19:52:57 GMT
  13.  
  14. In article <DERAADT.92Dec17125257@newt.newt.cuc.ab.ca> deraadt@newt.cuc.ab.ca (Theo de Raadt) writes:
  15. >Because it screws up the alignment all the way through the file. It's nice
  16. >to know that going a multiple of st.st_blocksize into the file and reading
  17. >a multiple of st.st_blocksize bytes is going to be faster.
  18.  
  19.  
  20. generally, in implemention such a beast, files less than, say, 60 bytes
  21. would be stored in the inode, using "spare space" left by unnecessary
  22. block pointers...
  23.  
  24. if the file gets beyond 60 bytes, the entire thing gets bumped out of the
  25. inode, so there is no alignment problem...
  26.  
  27. chris
  28. --
  29. Chris G. Demetriou                                    cgd@cs.berkeley.edu
  30.  
  31. "Sometimes it is better to have twenty million instructions by
  32.         Friday than twenty million instructions per second." -- Wes Clark
  33.