Path: utzoo!attcan!uunet!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions Subject: ETXTBSY (was: How to find process name in c?) Message-ID: <7145@star.cs.vu.nl> Date: 19 Jul 90 01:07:52 GMT References: <23896@adm.BRL.MIL> <3681@auspex.auspex.com> Sender: news@cs.vu.nl Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Dept. of Computer Science, Amsterdam, The Netherlands Lines: 10 Try this under 4.1BSD: sleep 3600 < /bin/cat & The next hour nobody can use `cat'... When checking if a file is executable, the 4.1 kernel returns ETXTBSY if it is open, even if only for reading. :-( -- "and with a sudden plop it lands on usenet. what is it? omigosh, it must[...] be a new user! quick kill it before it multiplies!" (Loren J. Miller)