Here are some statically linked binaries, including bash, tar,
gzip, dd, ln, mv, mount, swapon and some others. The binaries are
stripped to make them as small as possible.

They can be found at sunsite.unc.edu.edu:/pub/Linux/Incoming/sbin.tar.z

it is a gzipped tar file.

From the quick and dirty readme:

-------------
After some talk on comp.os.linux about the possible dangers
of not having any critical system binaries linked statically, I decided
to compile a few critical binaries on my own. I'm sure I've managed to
leave out a few important binaries. 

There is nothing new with these binaries other than they are 
linked statically, ie they do not require /lib/libc.so.4.* 
However, they are a lot larger.

Please note that I didn't write any of this code. 
Basically I just typed 'make'

To my knowledge, all of the source code required is available at the 
GNU copyleft. 

All of the source is freely available via FTP at sunsite.unc.edu
and likely other sites as well.

No source or real documentation is included. I assume you already have the
man pages for this stuff available. As noted before, the source is available
at sunsite.

The sources for these came from a few different archive files.

Most of the binaries came from the GNU Project, specifically in
GNU File Utilities 3.4. I downloaded the code from sunsite.unc.edu
no patches were required.

-rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 chgrp
-rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 chmod
-rwxr-xr-x   1 root     wheel       70660 Apr 15 01:29 chown
-rwxr-xr-x   1 root     wheel       74756 Apr 15 01:29 cp
-rwxr-xr-x   1 root     wheel       70660 Apr 15 01:29 dd
-rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 df
-rwxr-xr-x   1 root     wheel       70660 Apr 15 01:29 du
-rwxr-xr-x   1 root     wheel       70660 Apr 15 01:29 install
-rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 ln
-rwxr-xr-x   1 root     wheel       87044 Apr 15 01:29 ls
-rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 mkdir
-rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 mkfifo
-rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 mknod
-rwxr-xr-x   1 root     wheel       70660 Apr 15 01:29 mv
-rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 rm
-rwxr-xr-x   1 root     wheel       62468 Apr 15 01:29 rmdir
-rwxr-xr-x   1 root     wheel       87044 Apr 15 01:29 touch


Specialized binaries also came from Sunsite: 

Bash 1.12 was compiled statically and tested with the patches in 
sunsite.unc.edu:/pub/Linux/GCC/patches/

The bash binary has been tested, but not extensively so. I've been using
it without problems for a while now. It works fine for me. It has all
the readline stuff compiled in.

-rwxr-xr-x   1 root     wheel      295940 Apr 15 01:29 bash

GNU tar 1.11.2 was compiled statically. No patches were required.

-rwxr-xr-x   1 root     wheel      193540 Apr 15 01:29 tar

Gzip Version 1.0.6 was compiled statically. No patches were required.
The itsy-bitsy files are shell scripts. They are included for completeness
more than anything else.

-rwxr-xr-x   4 root     wheel       78852 Apr 15 01:29 gunzip
-rwxr-xr-x   1 root     wheel        2951 Apr 15 00:35 gzexe
-rwxr-xr-x   4 root     wheel       78852 Apr 15 01:29 gzip
-rwxr-xr-x   4 root     wheel       78852 Apr 15 01:29 uncompress
-rwxr-xr-x   4 root     wheel       78852 Apr 15 01:29 zcat
-rwxr-xr-x   1 root     wheel        1866 Apr 15 00:35 zdiff
-rwxr-xr-x   1 root     wheel         989 Apr 15 00:35 zforce
-rwxr-xr-x   1 root     wheel         747 Apr 15 00:35 zmore
-rwxr-xr-x   1 root     wheel        2961 Apr 15 00:35 znew

Linux mount 0.99pl6 was compiled statically. No patches were required.
This is the mount command that contains NFS mount code by Rick Sladkey
and other code by H.J. Lu and Doug Quale.

-rwxr-xr-x   1 root     wheel      103872 Apr 15 01:29 mount
-rwxr-xr-x   2 root     wheel       61296 Apr 15 01:29 swapoff
-rwxr-xr-x   2 root     wheel       61296 Apr 15 01:29 swapon
-rwxr-xr-x   1 root     wheel       67848 Apr 15 01:29 umount

If there are any questions, problems, concerns or flames, please feel 
free to drop me a line.

--chuck









