From owner-freebsd-questions Fri Nov 19 11:20:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from altair.mayn.de (altair.mayn.de [194.145.150.157]) by hub.freebsd.org (Postfix) with ESMTP id A5D8014CE0 for ; Fri, 19 Nov 1999 11:20:48 -0800 (PST) (envelope-from mkb@altair.mayn.de) Received: (from mkb@localhost) by altair.mayn.de (8.9.3/8.9.3) id UAA00470; Fri, 19 Nov 1999 20:18:06 +0100 (CET) (envelope-from mkb) Date: Fri, 19 Nov 1999 20:18:06 +0100 From: Matthias Buelow To: "Oleg V. Volkov" Cc: Greg Lehey , freebsd-questions@FreeBSD.ORG Subject: Re: Is there correct way for program to read from itself? Message-ID: <19991119201806.A442@altair.mayn.de> References: <19991118102421.09370@mojave.sitaranetworks.com> <19991118223426.A62913@fly.lglobus.ru> <19991118152324.37840@mojave.sitaranetworks.com> <19991118232846.A63288@fly.lglobus.ru> <19991118154736.22915@mojave.sitaranetworks.com> <19991119002759.B63288@fly.lglobus.ru> <19991118172315.02758@mojave.sitaranetworks.com> <19991119012822.A63914@fly.lglobus.ru> <19991119111026.11577@mojave.sitaranetworks.com> <19991119220338.B68540@fly.lglobus.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991119220338.B68540@fly.lglobus.ru>; from rover@lglobus.ru on Fri, Nov 19, 1999 at 10:03:38PM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oleg V. Volkov wrote: >Did you hear of executable compressor named "UPX"? Recently version was >made for Linux, and i wish to help author with enough info to make it >work under FreeBSD without recompiling it. Soon, when they release 1.0 with >sources this problems will go away by themselves. Executable compressor? I thought DOS with tiny floppies was dead? :) I don't think such a thing is useful; if it works at all, if would dynamically generate the actual executable segments (code, data, bss and whatever is hiding in today's elf stuff) defeating the system's cache mechanisms for sharing code pages among multiple running processes of the same executable image etc. which might especially be critical since you probably want to compress very large object files. Other disadvantages might come into action. I don't think it makes sense at all generally in the days of very cheap multi-gigabyte disks and object files contribute only marginally to a typical filesystem fillage (mp3 files collections being much more space hungry on many personal systems). mkb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message