[ILUG] Caching programs

Rick Moen rick at linuxmafia.com
Wed Sep 5 23:50:30 IST 2001


begin  kevin lyda quotation:

> yes, use chmod 1755 binary or chmo +t binary (depending on how you
> like to sed modes on files).  it sets the sticky bit which tells the
> kernel to cache the text section (which is sharable across instances)
> in ram.  i think most modern unicies ignore it under the theory that
> buffer cache systems are smarter then they used to be.

(You almost certainly already know this.  But for the benefit of those
who don't:)

Linux is one such, and thus the sticky bit has no effect on
non-directory files.  When applied to directories, it implements the 
sticky bit's _other_ traditional function, causing files within to be
renameable/modifiable/erasable only by file owner, directory owner, and 
the superuser.

-- 
Cheers,
Rick Moen                                        This space for rant.
rick at linuxmafia.com




More information about the ILUG mailing list