On 4/30/06, Andrew Benton <[EMAIL PROTECTED]> wrote:
Bryan Kadzban wrote:
>
> Andrew Benton wrote:
> How will your non-glibc userspace packages use inotify?
>
> Yes, glibc has support for its syscalls, but the LLH headers do not, and
> AFAIK glibc doesn't install headers for it; userspace programs therefore
> won't be able to detect support for it, and likely won't use it.

The only application I'm aware of that uses Inotify is gnome-vfs which
seems to be working fine. Compiled without Gamin or FAM it is still
aware of changes to files and folders and passes the info on to
Nautilus. I don't know how it all works (IANAP), but it does.

There are more, but this may be the only package currently in BLFS
(off the top of my head).  In my experience, gnome-vfs is the only
package that checks for the existence of sys/inotify.h.  Other
packages that check for inotify support are beagle and dovecot. Beagle for sure checks for linux/inotify.h.

I have to agree with Bryan on this one.  Half the reason that the
headers in include/{linux,asm} are static is because you want to
advertise the same set of kernel interfaces to userspace programs that
your C libraries are aware of.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to