From: porte64@free.fr Subject: built-in rotating and compressed files: rotfs and zfs Date: Thu, 22 Jan 2004 16:34:48 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <1074785688.400fed980f994@imp1-l.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Return-path: Received: from postfix4-1.free.fr ([213.228.0.62]:30611 "EHLO postfix4-1.free.fr") by vger.kernel.org with ESMTP id S264459AbUAVPet (ORCPT ); Thu, 22 Jan 2004 10:34:49 -0500 To: linux-fsdevel@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Many applications make heavy usage of compressed files and some need rotating files. Though compression methods are almost stabilized as standards, one still does need special tools like zcat to read from them. But many applications are not aware of zcat, zcat cannot read byte ranges within binary files ... Hence a proposal: how about implementing a file compression and a file rotation within the kernel ? - This would make system calls like read() and write() transparent ... so it would brought transparency to all applications - e.g. syslog messages would be compressed on-the-fly, backup utilities would not have to delay job queues due to compression overcost. - Humans would not have to bother about disk usage and machine power when uncompressing files. So many advantages ! Now, one open question: is it better to implement this at file level (one extra attribute) or at file system level (designing zfs and rotfs) ? Regards Phil