Re: inotify to minimize stat() calls
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Feb 9, 2013, 18:56 UTC
- Message-ID
- <CALkWK0=5s0WoA5Y-2wmJRsthtckaMAcRK=JhqhduMty1Pr=Lqw@mail.gmail.com>
- In-Reply-To
- <CALkWK0=6_n4rf6AWci6J+uhGHpjTUmK7YFdVHuSJedN2zLWtMA@mail.gmail.com>
Ramkumar Ramachandra wrote:
Show 10 quoted lines
> Okay, now you're asking me to consider a system-wide daemon > independent of systemd. It has to run with root privileges so it has > access to everyone's repositories, which means that people have to > trust it beyond doubt. What does it do? It has a generic API to > watch filesystem paths and report events over an IP socket. Do you > think that this will only be useful to git? Every other version > control system (and presumably many other pieces of software) will > want to use it. One huge downside I see of making this part of > systemd is Ubuntu. They've decided not to use systemd for some > unfathomable reason.
After some thought, I've decided that extending systemd is not the way to go. And the dbus API is really an overkill. Writing a simple system-wide daemon shouldn't be a challenge; the hard part is getting git to use it properly.