I would like to get some help to write a kernel extension called filzip
when the filzip is loaded into the kernel (load filzip with parameter <filename>)
it creates a special file /dev/fzip_<filename> that implements all file operations (open, read,write,...)
and the kernel extension filzip manages a compressed version of the original file.
How can I implement this? since I never wrote a kernel extension I need a sample code (a template) that
I can use to fill the rest of the code.
PS: I am not sure, but for now I do not want to use a file system that save compressed data on physical disk;
I really want a kernel extension that manages a compressed copy of an existing file.
Thank you for your help
Pinned topic write a kernel extension for a "file driver" (AIX 5.3)
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-09-27T08:06:44Z at 2011-09-27T08:06:44Z by flodstrom
flodstrom 0600029Q7U57 Posts
Re: write a kernel extension for a "file driver" (AIX 5.3)2011-09-27T08:06:44ZThis is the accepted answer. This is the accepted answer.To start with, have a look at the following pages.
Also if you google around a bit you might find some other examples.