Re: inotify and IN_UNMOUNT-events

2005-08-31 Thread Juergen Quade
> > ... > > results in two events: > > 1. IN_DELETE_SELF (mask=0x0400) > > 2. IN_IGNORED (mask=0x8000) > > > > Any ideas? > > "/mnt" is not unmounted, stuff inside of it is. > > Watch, say, "/mnt/foo/bar" and when /dev/hda1 is unmounted, you will get > an IN_UNMOUNT on the watch. I tried th

inotify and IN_UNMOUNT-events

2005-08-30 Thread Juergen Quade
Playing around with inotify I have some problems to generate/receive IN_UNMOUNT-events (using a self written application and inotify_utils-0.25; kernel 2.6.13). Doing: - mount /dev/hda1 /mnt - add a watch to the path /mnt/ ("./inotify_test /mnt") - umount /mnt results in two events: 1. IN_DELETE

Re: Kernel space sockets

2005-03-18 Thread Juergen Quade
On Fri, Mar 18, 2005 at 02:53:31PM +0100, Josef E. Galea wrote: > Hi, > > I'm trying to implement a UDP server in a kernel module. So far I have > created the struct socket using sock_create_kern(), and used > sock->ops->bind() on it. Now how do I send UDP datagrams? I looked at > some code and

Re: [PATCH] Alps touchpad probing failure

2005-01-19 Thread Juergen Quade
On Thu, Jan 20, 2005 at 12:23:58AM +0100, Daniel Caujolle-Bert wrote: > Hi, > > With 2.6.11-rc1 bk6 and bk7 (didn't tried with < bk6), my alps touchpad is > no > more correctly probed, it's recognised as a standard PS/2 mouse. > So, with this trivial two line patch, everything is working again