[comp.unix.questions] ETXTBSY

maart@cs.vu.nl (Maarten Litmaath) (07/19/90)

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)