From owner-freebsd-hackers Thu Aug 29 15:10:46 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA10506 for hackers-outgoing; Thu, 29 Aug 1996 15:10:46 -0700 (PDT) Received: from mail.think.com (Mail1.Think.COM [131.239.33.245]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA10497 for ; Thu, 29 Aug 1996 15:10:37 -0700 (PDT) Received: from Early-Bird.Think.COM (Early-Bird-1.Think.COM [131.239.146.105]) by mail.think.com (8.7.5/m3) with ESMTP id SAA11816; Thu, 29 Aug 1996 18:09:36 -0400 (EDT) Received: from compound.Think.COM (fergus-2.dialup.prtel.com [206.10.99.132]) by Early-Bird.Think.COM (8.7.5/e1) with ESMTP id SAA00665; Thu, 29 Aug 1996 18:09:32 -0400 (EDT) Received: (from alk@localhost) by compound.Think.COM (8.7.5/8.7.3) id RAA05296; Thu, 29 Aug 1996 17:09:52 -0500 (CDT) Date: Thu, 29 Aug 1996 17:09:52 -0500 (CDT) From: Tony Kimball Message-Id: <199608292209.RAA05296@compound.Think.COM> To: ig25@mvmampc66.ciw.uni-karlsruhe.de Cc: hackers@freebsd.org Subject: Re: Tired of /tmp? Here's a proposed solution Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Quoth Thomas Koenig on Wed, 28 August: : Guido M. Witmond wrote: : : >Well, this is a good quick hack. What about removing the CONCEPT of : >public writable filesystems like /tmp. : : Agree 100%. : : The best solution would be, IMHO, to give each user his or her : personal temporary directory, under /tmp/username, mode 700. : /tmp can stay 1777 for stuff like make files accessible to other : users. : : Comments? Yup. Don't do it. Allow instead the creation of files with no path, which disappear when closed -- hey, better yet, use free memory, and back them by swap. Hmmm -- sounds suspiciously like unto mmap(...,open("/dev/null",...),...). I think the rub is expunging the use of /tmp from all the applications. (Many of these uses are in the form of mktemp(3) calls, and several others are fifos.) Once in, it is hard to expunge such a pervasive kludge...