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, 19 Jul 2000, Ville Herva wrote:

>> > 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.

I think you are incorrect here. If I'm not mistaken, Riley
Williams is the maintainer of e2compr now. It was discussed not
long ago.

>> 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.

Yep.



--
Mike A. Harris Linux advocate
Computer Consultant GNU advocate
Capslock Consulting Open Source advocate

... Our continuing mission: To seek out knowledge of C, to explore
strange UNIX commands, and to boldly code where no one has man page 4.


-
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:0.062 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site