On 12/23/2010 06:13 AM, Jim Meyering wrote: > Starting a daemon... > Yes, that sounds challenging.
We'd have to start a new daemon for each directory, right? So we'd need a hash table mapping directory FDs to info about each daemon. There's also the issue of signal safety, which we'd need to think about regardless of whether we use a daemon. I dunno, this solution initially sounds nice (it had already occurred to me before this discussion), but given that we're only talking about systems with low-quality libraries, and given that any solution will be pretty hard to test, I'm inclined to think that going with subprocesses would be more trouble than it's worth.