Messages in this thread | | | From | Juergen Hasch <> | Subject | Re: Using get_cwd inside a module. | Date | Sun, 23 Nov 2003 20:40:28 +0100 |
| |
Am Samstag, 22. November 2003 12:04 schrieb Christoph Hellwig: > On Sat, Nov 22, 2003 at 11:45:39AM +0100, Juergen Hasch wrote: > > > What are the exact requirements of changedfiles or samba? > > > > Samba needs to be able to notify a client machine, when a file in a > > directory changes (i.e. is added/removed/modified/renamed). The directory > > to be watched is given by the client and can include subdirectories. > > Well, reporting a single path component relative to the parent directory > is doable, there's just no way to have a canonical absolute or > multi-component pathname.
If dnotify is able to return name and event type for each dnotify event, it is quite simple to make use of it in Samba. I tested this some time ago, but it was too much of a hack to consider sending this to the list.
What are the chances of such an extension being accepted in the kernel at all ? From the LKML archives I haven't seen much love for dnotify and I think only few Samba users would consider using a custom kernel.
...Juergen
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |