1

I'm using inotify for a project, and desperately require the functionality provided by this patch: http://article.gmane.org/gmane.linux.kernel/758183

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

jscott
  • 24,484
  • 8
  • 79
  • 100

1 Answers1

1

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.

Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84
  • 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) –  Oct 25 '10 at 09: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: http://www.ibm.com/developerworks/aix/library/au-spunix_ksplice/ (Updating Custom Kernels). – Eduardo Ivanec Apr 18 '11 at 13:51