🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.debian
Article #529

Re: kompresja "w locie"

#529
From: Konrad Madej
Date: Mon, 17 Nov 2003 14:35
15 lines
1464 bytes
On 2003-11-14, Bartosz <NOpszczoleSPAM@NOSPAMpoczta.onet.pl> wrote:

> czy jest jakis sposob aby pliki nagrywane na dysk byly kompresowane w locie
> (i dekompresowane przy odczycie), chodzi mi o system w pelni przezroczysny
> dla aplikacji (znalazlem e2compr ale nie jest rozwijany)

Moze wystarczy zwykly ext2 z uzyciem dodatkowych wlasciwosci (chattr).
Z man chattr:

A file with the `c' attribute set is automatically  compressed  on the
disk  by  the kernel.  A read from this file returns uncompressed data.
A write to this file compresses data before storing them on the disk.

-- 
Konrad Madej
Technical Details
Message-ID: <slrnbrhn5o.6ng.kmadej@faramir.nask.waw.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.gazeta.pl!news.nask.pl!NNRP
References: <bp304k$ad6$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.gazeta.pl!news.nask.pl!NNRP
From: Konrad Madej <kmadej@elka.pw.edu.pl>
Newsgroups: pl.comp.os.linux.debian
Subject: Re: kompresja "w locie"
Date: Mon, 17 Nov 2003 14:35:30 +0000 (UTC)
Organization: NASK - www.nask.pl
Lines: 15
Message-ID: <slrnbrhn5o.6ng.kmadej@faramir.nask.waw.pl>
References: <bp304k$ad6$1@news.onet.pl>
NNTP-Posting-Host: faramir.nask.waw.pl
X-Trace: pippin.warman.nask.pl 1069079730 12989 195.187.245.181 (17 Nov 2003 14:35:30 GMT)
X-Complaints-To: usenet@nask.pl
NNTP-Posting-Date: Mon, 17 Nov 2003 14:35:30 +0000 (UTC)
X-Orig-Path: not-for-mail
User-Agent: slrn/0.9.8.0 (Linux)
X-Path-Notice: Path header has been replaced
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit