Dan Nicholson wrote:
On 7/30/06, LFS Trac <[EMAIL PROTECTED]> wrote:

The linux-libc-headers-2.6.12.0-inotify-2.patch patch has to be used with
 glibc-2.3.6, linux-libc-headers-2.6.12.0-inotify-2.2.patch is for
 glibc-2.4. Both are i386 and ppc only (i.e., for the architectures
 supported by the LiveCD).

 Note: with linux-libc-headers-2.6.12.0-inotify-2.patch, you have to
install the provided include/sys/inotify.h as /usr/include/sys/inotify.h.

We're still not installing include/sys/inotify.h in the book
currently. Frankly, I'm not sure it should be done.

There is no way around it in order to have fully working inotify. Anything less is not better than not applying the patch at all in terms of application support. Try compiling dovecot with the --with-notify=inotify flag.

The sys/ headers should really be provided by glibc.

Then rip it out and add to glibc page. It is indeed NOT a kernel header, but a missing part of glibc.

I'm guessing the inotify functions in sys/inotify.h come from glibc-2.4?

No, glibc-2.4 implements them in its regular list of syscalls, see glibc-2.4/sysdeps/unix/sysv/linux/syscalls.list, but I don't want to patch this in glibc-2.3.6. What I put in the header is a simplest possible hack borrowed from udev. BTW, you can backport all other new syscalls to glibc-2.3.6, but I won't do that for 6.2.

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to