From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bc60e23583aad462,start X-Google-Attributes: gid1164f8,public From: littlitt@ATHENA.MIT.EDU (Jonathan Litt) Subject: OMAGIC vs. NMAGIC formats Date: 1995/07/18 Message-ID: <3ugho6$ov3@senator-bedfellow.MIT.EDU>#1/1 X-Deja-AN: 106428543 organization: Massachusetts Institute of Technology newsgroups: comp.sys.dec Hello, The man page for the Ultrix provided ld(1) discusses the difference between OMAGIC binaries (with writable, non-sharable text sections) and NMAGIC binaries (with read-only, sharable text sections). It also discusses ZMAGIC files, which it doesn't really explain. I have a few questions concerning these options: * Which is the default? * If an OMAGIC binary forks in Ultrix 4.2A, are the text pages shared with parent process? Are the pages copy-on-write? I'd like to know which format to choose that would save me the most memory in a fork-on-connect network deamon. Thanks for any info. -- Jonathan Litt littlitt@mit.edu