Hello, I would like to suggest different aufs distribution format,
while I don't even know if that is technically possible at all.

Today AUFS can be used either as a driver compiled directly in kernel
(a patch for kernel sources is needed) or as a kernel module (a
smaller patch is needed anyway, since many functions need to be
exported). So a kernel patch is needed in all cases, and recompiling
entire kernel is needed all the time and it requires REBOOT to use
aufs.

My question: Is it possible to release aufs in a different form, which
doesn't need the kernel to be recompiled and rebooted?

As a stupid user, I would like to do the following:
- download some aufs TAR archive which matches my particular kernel version
- extract the archive and run 'make' (it will look for kernel sources
of my currently running kernel in /usr/src/linux if even needed)
- the make command will build aufs.ko which can be directly modprobed
and used, even without reboot

Is it technically possible?
Or is it impossible?
Or is it possible but very hard work ?

If I understand it right, then the only problem are the exported
functions, which aufs uses but currently can't use if they are not
exported. So why not to hard copy them! :)
My suggestion (while I have no idea if that could work):

- develop aufs using GIT as you do normally
- when new aufs version is released, have some scripts prepared, which
will do all the following hard work:
- scripts will copy&paste all the necessary code or functions from
currently used kernel sources together with aufs sources to create
STANDALONE AUFS FOR DUMMIES
- the same script could create many TAR archives with many different
aufs versions for each different Linux version, simply by copying
appropriate kernel functions from appropriate Linux version to the
appropriate aufs sources  ;-)

So the aufs version, which is for Linux 2.6.38, would have copied the
necessary functions from this particular Linux version, while the same
aufs version which is to be used with newer Linux 2.6.39, would have
the "same" functions copied from the "newer" kernel version 2.6.39.

I hope you understand my suggestion and question.
Please forgive my ignorance if my question is totally out of order, I
don't know anything about kernel in general, I am just a stupid user
:)

Thank you


Tomas M

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1

Reply via email to