From owner-cvs-all Wed Jun 26 11:44:28 2002 Delivered-To: cvs-all@freebsd.org Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by hub.freebsd.org (Postfix) with ESMTP id 18DD237B49E; Wed, 26 Jun 2002 11:42:52 -0700 (PDT) Received: from misha (250-217.customer.cloud9.net [168.100.250.217]) by corbulon.video-collage.com (8.12.2/8.12.2) with ESMTP id g5QIgb5v013905 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL); Wed, 26 Jun 2002 14:42:40 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) X-Authentication-Warning: corbulon.video-collage.com: Host 250-217.customer.cloud9.net [168.100.250.217] claimed to be misha Content-Type: text/plain; charset="iso-8859-1" From: Mikhail Teterin Organization: Virtual Estates, Inc. To: Tony Finch , cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/etc/mtree BSD.var.dist Date: Wed, 26 Jun 2002 14:42:31 -0400 X-Mailer: KMail [version 1.4] References: <200206251949.46889.mi+mx@aldan.algebra.com> <200206261052.55093.mi+mx@aldan.algebra.com> <20020626190811.C26954@chiark.greenend.org.uk> In-Reply-To: <20020626190811.C26954@chiark.greenend.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206261442.31404.mi+mx@aldan.algebra.com> X-Scanned-By: MIMEDefang 2.15 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 26 June 2002 02:08 pm, you wrote: = On Wed, Jun 26, 2002 at 10:52:55AM -0400, Mikhail Teterin wrote: = > = > Yes, but the template for mkdtemp() would by something like = > /var/run/sshd.XXXX, right? = = I'm using /var/tmp because the directory is around for such a short = time. It seems to me to be a better fit. But /var/tmp is guaranteed to be permanent between reboots -- certainly, the directory, sshd needs to chroot into, does not need such guarantees. /tmp is often mfs mounted and so can be /var/run (cleaned up on boot anyway), so they are better candidates. I prefer /var/run, because the the content is only valid during this up-time, and the name implies even shorter validity of the application's (sshd's) run-time. I'm not certain, creating a separate directory for each instance of sshd is even wise for this -- the burden on the FS is unjustified, IMHO. However, this thread is increasingly moot, because /var/empty is winning, which will always be there, and will be the same as OpenBSD's :-) = > Actually, why not "fool about with it"? Like placing a README with = > "Hacking other people's systems without permission is a sin" into = > it? = = Because that would be a waste of effort and would fail on some = filesystems (e.g. NFS) that don't allow you to do things to a removed = directory. That's why I don't think we should be removing the directory :-) -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message