From: Stef B. <st...@gm...> - 2010-09-09 18:06:39
|
2010/9/9 Sven Utcke <sve...@gm...>: > Hello Stef, > >> This script will then check via utilities like nbtscan and smbclient >> the available resources and will report changes in some way, > > I would strongly suggest using library calls for this: faster, safer, > etc. > Yes I know that's also possible, but then I have to learn to write smbclient calls, and I'm hoping to stay as simple as possible. (I learned C 8 months ago) >> but, and that's the reason why I post this message, this will take >> some seconds! When running my lowlevel fs in single mode (no >> threads), > > Why would you? One of my objectives is to make Inotify supported by Fuse, but that's only possible when rewriting the main loop using epoll, and single mode. > >> does this make my whole fs wait: thus will this result in blocking io ?? > > If your interested in the output of your commands, then basically > yes, I would think so... > > Sven > -- Thanks a lot, Stef |