Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!linus!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.lang.c Subject: Re: Fork and Execl Message-ID: <3282@sun.uucp> Date: Sun, 23-Feb-86 06:30:48 EST Article-I.D.: sun.3282 Posted: Sun Feb 23 06:30:48 1986 Date-Received: Wed, 26-Feb-86 04:27:52 EST References: <868@umd5.UUCP> <1212@brl-smoke.ARPA> Distribution: net Organization: Sun Microsystems, Inc. Lines: 15 > Neglecting certain funny versions of 4.2 as done by National Semiconductor, > the fork creates a totally seperate copy of all the nonshared program > sections.... Other UNIX implementations do "copy-on-write" forks too, such as the paging S5 versions from AT&T-IS. I suspect some independently-done paging V7/S3/S5 versions and other 4BSD ports do so. "copy-on-write" doesn't affect the behavior of programs other than (one hopes) making them run faster, so even on "copy-on-write" systems one can think of the fork copying all the nonshared sections. -- Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.arpa (yes, really)