[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OT - manipulating the Kernel file system
- To: Iftach Hyams <paraduma(at-nospam)elbit.co.il>
- Subject: Re: OT - manipulating the Kernel file system
- From: Shaul Karl <shaulka(at-nospam)bezeqint.net>
- Date: Wed, 24 Oct 2001 23:28:23 +0200
- cc: Linux-IL Mailing List <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: Message from Iftach Hyams <paraduma@elbit.co.il> of "Wed, 24 Oct 2001 15:45:36 +0200." <E362644C9B65D5118D8000508BEECB2A03775B@MAIL3>
- References: <E362644C9B65D5118D8000508BEECB2A03775B@MAIL3>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
>
> 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