From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,8f3a4d1d7cd39172,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-11-26 08:45:16 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!news.tele.fi!news.csc.fi!news.helsinki.fi!not-for-mail From: Alain.Knaff@imag.fr (Alain Knaff) Newsgroups: comp.os.linux.announce Subject: Zlibc-0.5 released (replacement for read-only compressed filesystem) Followup-To: comp.os.linux.misc Date: 26 Nov 1994 17:51:31 +0200 Organization: ? Sender: wirzeniu@cc.Helsinki.FI Message-ID: <3b7li3$bh5@kruuna.Helsinki.FI> NNTP-Posting-Host: kruuna.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Keywords: Zlibc, C library, filesystem, compression, disk, read-only Hi, I am happy to announce the release of zlibc-0.5. Unlike the previous version, this one works with libc.4.6.20.so Zlibc is a library patch that allows executables to uncompress their datafiles on the fly. No kernel patch, no recompilation of these executables and no recompilation of the binaries is needed. Using gzip -9, a compression ratio of 1:3 can easily be achieved! (See examples below). This program has (almost) the same effect as a (read-only) compressed file system. Where to find it: ================= There is a binary and a source distribution, called zlibc-0.5.bin.tar.gz and zlibc-0.5.scr.tar.gz On sunsite, they are now in pub/Linux/Incoming, and their permanent locations are (will be): sunsite.unc.edu:/pub/Linux/libs tsx-11.mit.edu:/pub/linux/binaries/libs tsx-11.mit.edu:/pub/linux/sources/libs ftp.imag.fr:/pub/Linux/ZLIBC/zlibc How to install it: ================== The source distribution is the recommended way of installing zlibc, as it contains a configure script and an automated install script. Moreover, the source distribution is not tied to any particular version of libc. To install from source, type 'tar xfzvvp zlibc-0.5.src.tar.gz', and read zlibc-0.5/INSTALL.linux for further instructions. To install the binary version, type 'cd / ; tar xfzvvp zlibc-0.5.bin.tar.gz', and read /usr/doc/zlibc/INSTALL.linuxbin for further instructions. The binary version uses libc.4.6.20.so New in this release: ==================== The following new features have been introduced: * zlibc works now with the new 4.6.20 library. * There is now a limited support for writing to compressed files. It is possible to: - have the new files created as compressed. - append data to compressed files. - uncompress files in place before writing to them. See the manual page zlibrc.so.5 for details. * On Linux, zlibc is now compatible with strace. * It is now possible to generate the "compiled in" defaults from the zlibrc.sample file. * Safer default zlibrc file. How it works: ============= This package patches the "open" function (and other similar system call functions) in the shared library. You don't need to have the sources of the shared library, the binary is patched directly. On Linux, this package _should_ work with every .4 shared library (tested on 4.3.3, 4.4, 4.4.1, 4.4.4, 4.5.26, 4.6.20). This is because it patches the jumptable, and the jumptable should remain constant for the same major release number (4) of the shared library. On SunOs, this package uses the LD_PRELOAD/LD_LIBRARY_PATH mechanism to redirect the dynamic linker to use the relevant functions of uncompress.o instead of the shared library. Thus, it should work with every release of the shared library (tested on libc.so.1.7). On SunOs, you don't need to be superuser to install this package. Examples: (compressed with gzip -9) =================================== Before After /usr/info/ 1568k 521k /usr/lib/emacs/19.19/ 6750k 2550k /usr/local/smalltalk/ 326k 126k /usr/local/lib/lisp 2256k 779k /usr/lib/*.a 1094k 476k /usr/X386/lib/*.a 1110k 470k /usr/include 655k 325k /usr/lib/X11/fonts/75dpi/ 3158k (1531 compressed) 1095 (gzipped) /usr/lib/X11/fonts/Speedo/ 530k (479 compressed) 373 (gzipped) /usr/lib/X11/fonts/misc/ 892k (323 compressed) 254 (gzipped) /usr/TeX/macros/ 1167k 223k (sic!) /usr/TeX/inputs 242k 74k /usr/TeX/formats 779k 251k Alain. -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu PLEASE remember Keywords: and a short description of the software.