Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using inotify for a project, and desperately require the functionality provided by this patch:

Can I apply this patch to my existing Linux kernel, or would a recompile be in order?

share|improve this question

That is a patch to the Linux VFS. You will have to recompile the kernel, even if you eventually use ksplice to insert it into the running kernel.

share|improve this answer
Thanks for the prompt response! Could you please walk me through how to do this without trashing my system? I'm on debian and have the 'linux-source-2.6.26' package installed (sources in /usr/src/linux-source-2.6.26.tar.bz2) – user58162 Oct 25 '10 at 9:48
I know nothing of how Debian handles its kernel source, but when you find the appropriate fs/inotify.c, go into the directory containing fs/ and run patch -p 1 < somefile.patch, then compile as per Debian instructions. – Ignacio Vazquez-Abrams Oct 25 '10 at 10:26
If you want to use ksplice as per Ignacio's suggestion this may be a good place to start: (Updating Custom Kernels). – Eduardo Ivanec Apr 18 '11 at 13:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.