/tmp versus temporary file types
Dave Cohrs
dave at uwvax.UUCP
Tue Oct 15 20:35:29 AEST 1985
> 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 at wisc-romano.arpa
More information about the Comp.unix.wizards
mailing list