[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT - manipulating the Kernel file system



> 
> Hello !
> I am interested in changing the file handling system in such way that all
> files are to be saved compressed, writing to a file needs compression and
> reading from it needs de-compression.
> 
> Please tell me :
> 1. how difficult is doing this manipulation?
> 2. what are the main problems?
> 3. where to start?
> 4. if you happen to have a reference?
> 


Quoting chattr man page:

	  A  file  with  the `c' attribute set is automatically com-
	  pressed 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.


	  As of Linux 2.2, the `c', `s',  and `u' attribute are  not
	  honored by the kernel filesystem code.    These attributes
	  will be implemented in a future ext2 fs version.


I am curious for the reasons you are looking for this feature.
-- 
When responding, please quote my entire message.

    Shaul Karl <shaulka@bezeqint.net>



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il