mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 04:21:26 +01:00
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:
parent
cbf2802c78
commit
9575405f03
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user