Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.hawaii.edu!ames!think.com!spool.mu.edu!uunet!psinntp!ficc!peter From: peter@ferranti.com (peter da silva) Subject: Re: Almost Free Symbolic Links (source code) Message-ID: <id.J2UV.H5K@ferranti.com> Keywords: symlink data in inode block list Organization: Xenix Support, FICC References: <39777@hoptoad.uucp> Date: Mon, 14 Dec 1992 18:19:28 GMT Lines: 12 In article <39777@hoptoad.uucp> curt@hoptoad.uucp (Curt Mayer) writes: > this cruddy but complete hack answers one of the objections to symlinks: > that they are slow, and cost an entire frag. symlinks of less than length > 60 are stored in the inode itself. How about generalizing this to put ALL files < 60 bytes in the inode, not just symlinks? -- %Peter da Silva/77487-5012 USA/+1 713 274 5180/Have you hugged your wolf today? /L{lineto}def/C{curveto}def/F{0 562 moveto 180 576 324 648 396 736 C 432 736 L 482 670 518 634 612 612 C}def/G{setgray}def .75 G F 612 792 L 0 792 L fill 1 G 324 720 24 0 360 arc fill 0 G 3 setlinewidth F stroke showpage % "Peerless"