> 1) opening /dev/bus/usb and poll'ing on read, then rescanning the
> /proc/bus/<busno> directory to find the change. Kinda weird doing file
> type things on a directory tho
Perhaps if we had the equivalent of the win32 function
FindFirstChangeNotification():
http://msdn.microsoft.com/library/sdkdoc/winbase/filesio_9hgu.htm
we'd get this for free.
Has anyone thought of/already patched directory change notification to
ext2 or /proc?
Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/