Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcdc!rml From: rml@hpfcdc.HP.COM (Bob Lenk) Newsgroups: comp.unix.wizards Subject: Re: unlink safe before close? Message-ID: <5980053@hpfcdc.HP.COM> Date: 24 May 89 21:10:46 GMT References: <755@unify.UUCP> Organization: HP Ft. Collins, Co. Lines: 19 In article <1989May7.053222.21348@utfyzx.uucp> harrison@utfyzx.uucp (David Harrison) writes: > This *should* work on all UNIX systems, so far as I know. It is a > standard trick to automagically remove tmp files when the process > dies. > I also know for a fact that it does *not* work on an HP9000 Series > 500 running HP-UX (System V.2), a fact which has pained me for a > number of years. What precisely is it that you find doesn't work about this on HP-UX on the series 500? An open file can be unlinked, the file descriptor remains valid and usable, and the file is actually removed when there are no longer any links or open file descriptors referring to it - just like on any other implementation of UN*X. Bob Lenk hplabs!hpfcla!rml rml@hpfcla.hp.com