home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / bsd / 10381 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!spool.mu.edu!caen!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cpsc.ucalgary.ca!xenlink!newt.cuc.ab.ca!deraadt
  3. From: deraadt@newt.cuc.ab.ca (Theo de Raadt)
  4. Subject: Re: Almost Free Symbolic Links (source code)
  5. In-Reply-To: peter@ferranti.com's message of Mon, 14 Dec 1992 18: 19:28 GMT
  6. Message-ID: <DERAADT.92Dec17125257@newt.newt.cuc.ab.ca>
  7. Sender: news@newt.cuc.ab.ca
  8. Nntp-Posting-Host: newt.fsa.ca
  9. Organization: little lizard city
  10. References: <39777@hoptoad.uucp> <id.J2UV.H5K@ferranti.com>
  11. Date: Thu, 17 Dec 1992 19:52:57 GMT
  12. Lines: 16
  13.  
  14. In article <id.J2UV.H5K@ferranti.com> peter@ferranti.com (peter da silva) writes:
  15.    In article <39777@hoptoad.uucp> curt@hoptoad.uucp (Curt Mayer) writes:
  16.    > this cruddy but complete hack answers one of the objections to symlinks:
  17.    > that they are slow, and cost an entire frag. symlinks of less than length
  18.    > 60 are stored in the inode itself.
  19.  
  20.    How about generalizing this to put ALL files < 60 bytes in the inode, not
  21.    just symlinks?
  22.  
  23. Because it screws up the alignment all the way through the file. It's nice
  24. to know that going a multiple of st.st_blocksize into the file and reading
  25. a multiple of st.st_blocksize bytes is going to be faster.
  26.  <tdr.
  27. --
  28.  
  29. This space not left unintentionally unblank.        deraadt@newt.cuc.ab.ca
  30.