From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linuxhippy Subject: Re: one idea about reiser4 compress Date: Sun, 10 Apr 2005 17:06:36 +0200 Message-ID: <425940FC.8060401@web.de> References: <42553064.9060604@namesys.com> <200504101338.AA00075@bbb-jz5c7z9hn9y.digitalinfra.co.jp> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <200504101338.AA00075@bbb-jz5c7z9hn9y.digitalinfra.co.jp> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: reiserfs-list@namesys.com Hi Jun! >Assume you install a distribution on a compressed partition with reiser4. >you usually do like this -- > >| CD | Installer with decompression | -> | Re-compress with Reiser4 | HDD | > >You dont think decompression -> recompression cycle is wasteful? >If CD contains compressed files with reiser4 compression format, >I guess it is possible to do like this -- > >| CD with reiser4 compressed files | Installer | -> | HDD | > >I mean, this eliminates an overhead of re-compression and make whole >isntall process simpler and faster. Maybe you could do install like this -- > # cp -a /mnt/cdrom /mnt/target_hdd >And this way would be much faster than usual installer today. > >How about this idea? > > To be honest I do not think your idea can be realized in a useful way because of: a.) Every Installer uses its own compression format, most time those packages have additional fines in it like install scripts and so on. b.) Reiser4.1 compression will eb definitivly optimized for speed, installer-packages are usually heavily optimized for size. c.) You would need new API's to archive this. Either through syscalls or via reiser's special files. Conclusion: It would be a major hassle to implement such stuff for next to null advantages. There are so many (important) features waiting to be implemented ;-) lg Clemens