From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JH9sR-0000RV-Hg for garchives@archives.gentoo.org; Tue, 22 Jan 2008 03:32:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA539E06D9; Tue, 22 Jan 2008 03:32:40 +0000 (UTC) Received: from localhost.localdomain (92.44.227.87.static.f.siw.siwnet.net [87.227.44.92]) by pigeon.gentoo.org (Postfix) with ESMTP id 9389BE06D9 for ; Tue, 22 Jan 2008 03:32:40 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 3719537F59A for ; Tue, 22 Jan 2008 04:35:39 +0100 (CET) Message-ID: <4795648A.7070908@home.se> Date: Tue, 22 Jan 2008 04:35:38 +0100 From: Erik User-Agent: Thunderbird 2.0.0.9 (X11/20071124) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] stuff accumulating in /tmp References: <20080120013901.GB5048@sympatico.ca> <4792C782.1070806@gmail.com> <20080120045549.GD5048@sympatico.ca> <200801201052.13182.alan.mckinnon@gmail.com> In-Reply-To: <200801201052.13182.alan.mckinnon@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: b686f19d-83f2-4d2a-ba1a-e6190b4c7a06 X-Archives-Hash: 3147fb24966177327b8ecbf59f3915d5 Alan McKinnon skrev: > On Sunday 20 January 2008, Philip Webb wrote: > >> 080119 Kevin wrote: >> >>> To automatically wipe /tmp upon reboot, >>> change WIPE_TMP to "yes" in /etc/conf.d/bootmisc >>> >> Thanks: I will consider the implications. >> > There aren't any implications. By *definition*, the contents of /tmp > should not be relied on to survive a reboot or even subsequent > invocations of the same program. > What definition? What if there is a script that calls a program and redirects the output to /tmp and then calls another program that uses the ouput? Would that be wrong? Does the script count as a program or each command separately? See this example: cat $(find -name regexps) > /tmp/all_regexps egrep -f /tmp/all_regexps some_file -- gentoo-user@lists.gentoo.org mailing list