From owner-freebsd-current Fri Jun 9 12:58:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id ED5E537CBA9; Fri, 9 Jun 2000 12:58:27 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id MAA65944; Fri, 9 Jun 2000 12:58:27 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Fri, 9 Jun 2000 12:58:27 -0700 (PDT) From: Kris Kennaway To: "Andrey A. Chernov" Cc: Boris Popov , John LoVerso , current@FreeBSD.ORG Subject: Re: mktemp() patch In-Reply-To: <20000609115946.A55638@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 9 Jun 2000, Andrey A. Chernov wrote: > On Thu, Jun 08, 2000 at 08:47:36PM -0700, Kris Kennaway wrote: > > filesystems. For example, should we limit all FreeBSD file names to 8.3 > > single-case in case someone wants to run from an old-style MSDOS > > partition? > > Bad example. Not _all_ filenames but temp. ones only which allows to run > FreeBSD binary in MSDOS FS with MSDOS files. The point is the same. Files created by FreeBSD binaries during the course of operation don't conform to an 8.3 monocase naming scheme (think of dotfiles for example). I don't believe there's such a thing as a lowest common denominator of file system naming conventions - either a filesystem can support UFS names (perhaps through a translation later) or it's not suitable for running FreeBSD from. > > Basically, I think the answer is not to use a nwfs or smbfs filesystem as > > your TMPDIR :-) > > mktemp() makes temp files in any directory including current one. Yes, but in practice it's not used that way since you can't write to most directories on the system except ~ and /tmp and relatives. Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message