lkml.org 
[lkml]   [2000]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: kernel read/write question
Hi,

On Fri, 4 Feb 2000 13:29:45 -0800 (PST), "Christopher A. Baumbauer"
<cab105@yahoo.com> said:

> My intention is to mount a filesystem where everything is compressed,
> except for the files already compressed. An example would be a
> directory or file move and having it already compressed without having
> to set additional bits or remembering to set the compression bit each
> time I mount a disk. I'm not sure if that helps any.

Two things. First of all, with e2compr, all you do is "chattr -r +c
<mount-point>" and everything on that filesystem is compressed by
default. Isn't that what you are after?

Secondly, policy and mechanism are two entirely different things, and if
you want to implement a different policy for when to compress things
than the e2compr patch has, it makes little sense to go away and
reimplement the entire mechanism too at the same time!

--Stephen

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