Restore the changes I made after my last brain hiccup...

Document /var/log/sup.rename instead of the old name
Couple of lib build cleanups (like, not installing the library, and clean
all files)

It should be safe now.. :-)
This commit is contained in:
Peter Wemm 1996-01-04 16:10:42 +00:00
parent a5782ecc36
commit 7ae3d55998
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13221
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.1 1995/12/26 05:15:17 peter Exp $
# $Id: Makefile,v 1.2 1995/12/26 22:32:21 peter Exp $
LIB= sup
SRCS= scm.c scmio.c stree.c log.c supmsg.c netcrypt.c atoo.c errmsg.c \
@ -7,6 +7,7 @@ SRCS= scm.c scmio.c stree.c log.c supmsg.c netcrypt.c atoo.c errmsg.c \
CFLAGS+= -DVAR_TMP -DHAS_DAEMON -I${.CURDIR}
NOPROFILE=
CLEANFILES+= netcrypt.c
netcrypt.c: netcryptvoid.c
ln -s ${.CURDIR}/netcryptvoid.c netcrypt.c

View File

@ -23,6 +23,9 @@
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.\" HISTORY
.\" $Log: sup.1,v $
.\" Revision 1.3 1995/12/26 05:11:04 peter
.\" Apply ports/net/sup/patches/patch-ab
.\"
.\" Revision 1.2 1995/12/26 05:03:02 peter
.\" Apply ports/net/sup/patches/patch-aa...
.\"
@ -272,14 +275,14 @@ libraries will take place. Some operating systems \fB(HPUX)\fR
do not allow the unlink system call to succeed on ETXTBSY files.
If the unlink does not succeed, an attempt is made to rename the
file to filename.sup#sup-pid.moved. The new name is logged in either
the system default rename log file, \fB/usr/local/etc/sup.moved\fR,
the system default rename log file, \fB/var/log/sup.rename\fR,
or in a logfile as set by the \fBrenamelog\fR supfile option. The
logfile allows for easy deletion of ETXTBSY files once they are no
longer in use. A typical time to perform the deletions is at system
boot time with something similar to:
.TP
.ce 1
cat /usr/local/etc/sup.moved | xargs rm -rf
cat /var/log/sup.rename | xargs rm -rf
.TP
.B -I
The
@ -933,7 +936,7 @@ lock file for a collection
<\fIbase-directory\fR>\fB/sup/\fR<\fIcollection\fR>\fB/logfile
log file for a collection
.TP
\fB/usr/local/etc/sup.moved\fR
\fB/var/log/sup.rename\fR
log file for files renamed by the \fBunlinkbusy\fR option
.TP
<\fIbase-directory\fR>\fB/sup/\fR<\fIcollection\fR>\fB/prefix