freebsd-skq/usr.sbin/sup
peter 2e47243854 Rewrite part of the compression support so that it does not leave
files in /var/tmp.  Sup needs to send the file size, so that
prevents running gzip in a pipeline (sigh).

It now opens a temporary file, and immediately unlinks it.  It sends
gzip's output to the temp file, and when gzip is done, it rewinds the
file and sends it. When the last fd is closed, the file storage is
reclaimed.  With luck, this will stop those 15MB
gzip < emacs-19.30.tgz > /var/tmp/tmp.xxxx files from being left behind
and blowing out /var on freefall.

While I have the platform, let me quote a fortune entry which sup reminds
me of:  "It is a crock of sh!t, and it stinks!"
1996-09-06 15:40:08 +00:00
..
lib Restore the changes I made after my last brain hiccup... 1996-01-04 16:10:42 +00:00
sup Fixed DPADD. 1996-09-05 17:16:10 +00:00
supfilesrv Rewrite part of the compression support so that it does not leave 1996-09-06 15:40:08 +00:00
supscan Fixed DPADD. 1996-09-05 17:16:10 +00:00
Makefile Shamelessly steal Garrett Wollman's bmakefiles... 1995-12-26 05:15:20 +00:00
Makefile.inc Shamelessly steal Garrett Wollman's bmakefiles... 1995-12-26 05:15:20 +00:00
README.FreeBSD Import the unmodified version of the sup that we are using. 1995-12-26 04:54:48 +00:00

This is the current CMU sup, modified to support on-the-fly compression.
It is the same sup used with NetBSD, and thus we've converged on the
configuration parameters (in other words, don't be alarmed - it works
fine with FreeBSD!).