home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / programm / 4369 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.3 KB

  1. Xref: sparky comp.unix.programmer:4369 comp.unix.misc:3283
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!darwin.sura.net!Sirius.dfn.de!zrz.tu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!dkuug!login.dkuug.dk!shj
  3. From: shj@login.dkuug.dk (Stig Jacobsen)
  4. Newsgroups: comp.unix.programmer,comp.unix.misc
  5. Subject: Re: Process & Signal Question
  6. Message-ID: <shj.714240376@login.dkuug.dk>
  7. Date: 19 Aug 92 16:06:16 GMT
  8. References: <1657227@bailey.UUCP> <Bt5tp0.9JI@gumby.ocs.com>
  9. Sender: news@slyrf.dkuug.dk
  10. Followup-To: comp.unix.programmer
  11. Organization: Asis Electronic Intl., Copenhagen, Denmark
  12. Lines: 23
  13.  
  14. obi@gumby.ocs.com (Kuryan "Obi" Thomas) writes:
  15.  
  16. >A vague memory tells me that on System V machines, demand-paged
  17. >executables which are in use (being executed) can't be overwritten. 
  18. ..
  19. >I believe the errno you get if you try to
  20. >open such an executable image for writing is ETXTBSY (Text File busy).
  21.  
  22. True. Well, mostly. This may be a bug in the NFS implementation
  23. we're using, but if the binary is opened via NFS, you can unlink
  24. the file locally on the machine where the file resides. Odd.
  25.  
  26. ETXTBSY is the reason why a lot of Makefiles looks like,
  27.  
  28. target: $(OBJS)
  29.         -mv target Otarget
  30.     ld ...
  31.  
  32.    
  33. Very good for consuming diskspace quickly..
  34. --
  35. Stig Jacobsen
  36. shj@login.dkuug.dk
  37.