lkml.org 
[lkml]   [2000]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: chattr and ext2 extended attributes
On Wed, Jul 19, 2000 at 01:12:18PM +0200, you [Ookhoi] claimed:                 
> Hi Andreas,
>
> > to do this for a recent kernel, I'm not sure. As for e2compr, I think
> > code is slowly making its way into the mainstream - e2fsprogs is now
> > starting to have support for it...

Sadly, AFAIK nobody is doing e2compr port to 2.3/2.4. The 2.2 e2compr is
very stable and very usable (that's at least my experience.) There was a
race that showed up when using samba, but that also fixed now (thanks to
Peter Moulder).

The e2compr support in e2fsprogs is still a separate patch, available at
the same place as the e2compr kernel patch.

> If it works, then you can just take a huge textfile and it will be
> compressed immediately if you put the c flag on it? Or do you have to
> read/write it afterwards, or do you even have to start with a touch
> file?

The file is compressed right after you do 'chattr -c file'. It then
remains compressed until you do 'chattr -c file' - even when you modify
the file.

You can also chattr +c a dir, and all the files created into the dir will
then be compressed.


-- v --

v@iki.fi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:4.528 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site