Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uwvax.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!uwvax!dave From: dave@uwvax.UUCP (Dave Cohrs) Newsgroups: net.unix-wizards Subject: Re: /tmp versus temporary file types Message-ID: <338@uwvax.UUCP> Date: Tue, 15-Oct-85 06:35:29 EDT Article-I.D.: uwvax.338 Posted: Tue Oct 15 06:35:29 1985 Date-Received: Thu, 17-Oct-85 07:49:56 EDT References: <136@mcgill-vision.UUCP> <3793@garfield.UUCP> <1854@umcp-cs.UUCP> Organization: U of Wisconsin CS Dept Lines: 15 > If you instead use the pathname to find the device, you run into > a different problem: what if the named file exists? Namei currently > will return the inode for that file. So you must also kludge namei > to ignore the last file name argument. Somehow, this does not > `feel' like the right solution either. How about requiring that a file opened O_TEMP not exist. If the file exists, you can't really make it temporary (well, you could, but it feels wrong). -- Dave Cohrs (608) 262-1204 ...!{harvard,ihnp4,seismo,topaz}!uwvax!dave dave@wisc-romano.arpa