Vincent Torri wrote: > I would like to know how I can notify the file system on OpenSolaris. > The low level API on linux is Inotify (it's a kernel module), and on > Windows, it is ReadDirectoryChangeW||. Which one is it with OpenSolaris ?
OpenSolaris has FAM and the 'port' feature to allow for notification of changes to files and directories: man -s 3C port_create http://arc.opensolaris.org/caselog/LSARC/2007/398/ It doesn't seem to have notifications on open/read and other sorts of events, if that's what you need. Perhaps someone should port Inotify to OpenSolaris. It looks like this is a frequently-discussed issue. A quick google search turned up: http://mail.opensolaris.org/pipermail/perf-discuss/2006-May/000540.html http://wiki.genunix.org/wiki/index.php/Summer_of_Code http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/3db1e25219fff974/10253a3b70bdf06d?hl=en&ie=UTF-8 -- James Carlson 42.703N 71.076W <carls...@workingcode.com> _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code