diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-11-17 18:19:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-11-17 18:19:09 +0000 |
commit | b733660542037b74a5bf6855bd86874defb95261 (patch) | |
tree | 62f509c761d9464f04b904ee708c874285350c51 /etc/Makefile | |
parent | f99447f2619028166c07e63b019fdcadb75386a8 (diff) |
Make /var/tmp a symbolic link to /tmp. The creation of /var/tmp in the
often space-constrained /var filesystem was a historical mistake. There
are big implications for the daemons which assume they won't run out of
space, and this is a first step towards trying to improve the situation.
Move /tmp to the same 7-day expiration rules that /var/tmp had.
vi.recover works just as well as before, except on memory filesystems;
indicating that vi should be repaired to write files into homedirs or
something.
done with rpe
ok many
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile index d2c00030aa4..11e58c09fbf 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.398 2014/10/03 19:22:38 deraadt Exp $ +# $OpenBSD: Makefile,v 1.399 2014/11/17 18:19:08 deraadt Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= Canada/Mountain @@ -210,6 +210,7 @@ distribution-etc-root-var: distrib-dirs ${DESTDIR}/etc/rc.d && \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 ${RCDAEMONS} \ ${DESTDIR}/etc/rc.d + cd ${DESTDIR}/var; ln -fs ../tmp touch ${DESTDIR}/usr/share/sysmerge/etcsum touch ${DESTDIR}/usr/share/sysmerge/examplessum cd ${DESTDIR}/ && \ |