Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site gatech.CSNET Path: utzoo!linus!gatech!arnold From: arnold@gatech.CSNET (Arnold Robbins) Newsgroups: net.unix-wizards Subject: Re: /tmp versus temporary file types Message-ID: <1622@gatech.CSNET> Date: Sun, 20-Oct-85 22:20:12 EDT Article-I.D.: gatech.1622 Posted: Sun Oct 20 22:20:12 1985 Date-Received: Mon, 21-Oct-85 07:21:14 EDT References: <136@mcgill-vision.UUCP> <3793@garfield.UUCP> <1854@umcp-cs.UUCP> <338@uwvax.UUCP> Organization: The Bill the Cat Fan Club Lines: 21 Here's my two cents worth (I'm a little behind in my Unix-wizards, if some one else has beat me to the idea, I apologize). Why not do something like fd = open ("/dev/temp", O_RDWR); /* O_CREAT implied by the use of /dev/temp */ The kernel just grabs a fresh inode off whatever device /tmp is mounted on, or the "temp device" could be a configurable parameter in the same way that the swap device is. Then flink() or whatever ought to work properly as well. In other words, /dev/null is the null device, /dev/swap the swap device, so why not a /dev/temp for temporary files? -- Arnold Robbins CSNET: arnold@gatech ARPA: arnold%gatech.csnet@csnet-relay.arpa UUCP: { akgua, allegra, hplabs, ihnp4, seismo, ut-sally }!gatech!arnold Hello. You have reached the Coalition to Eliminate Answering Machines. Unfortunately, no one can come to the phone right now....