home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:4369 comp.unix.misc:3283
- 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
- From: shj@login.dkuug.dk (Stig Jacobsen)
- Newsgroups: comp.unix.programmer,comp.unix.misc
- Subject: Re: Process & Signal Question
- Message-ID: <shj.714240376@login.dkuug.dk>
- Date: 19 Aug 92 16:06:16 GMT
- References: <1657227@bailey.UUCP> <Bt5tp0.9JI@gumby.ocs.com>
- Sender: news@slyrf.dkuug.dk
- Followup-To: comp.unix.programmer
- Organization: Asis Electronic Intl., Copenhagen, Denmark
- Lines: 23
-
- obi@gumby.ocs.com (Kuryan "Obi" Thomas) writes:
-
- >A vague memory tells me that on System V machines, demand-paged
- >executables which are in use (being executed) can't be overwritten.
- ..
- >I believe the errno you get if you try to
- >open such an executable image for writing is ETXTBSY (Text File busy).
-
- True. Well, mostly. This may be a bug in the NFS implementation
- we're using, but if the binary is opened via NFS, you can unlink
- the file locally on the machine where the file resides. Odd.
-
- ETXTBSY is the reason why a lot of Makefiles looks like,
-
- target: $(OBJS)
- -mv target Otarget
- ld ...
-
-
- Very good for consuming diskspace quickly..
- --
- Stig Jacobsen
- shj@login.dkuug.dk
-