On Mon, Apr 13, 2009 at 6:26 PM, Prashant Bhole <prashantsmailcenter@xxxxxxxxx> wrote: > Hi, > Can I user inotify with sysfs? > > I have a kernel module which has exported its attributes in sysfs. Also, I > have a user space program which needs to be notified about changes in > attributes in sysfs. I tried using inotify but not working out. I don't think inotify could work with pseudo filesystem... there's no real content there that's related to physical backing storage. OTOH, AFAIK sysfs is generating "content" based only when you read at it. Probably the thing that might work is dnotify...but this is just a raw guess. regards, Mulyadi. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ