monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] options for automate inventory


From: Thomas Keller
Subject: Re: [Monotone-devel] options for automate inventory
Date: Mon, 14 Jan 2008 12:06:48 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20070801)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

William Uther schrieb:
>> --no-ignored --no-unchanged gives another factor of three increase in
>> speed.
> 
> While I'm thinking of it, I wanted to post to record another idea I had...
> 
> I don't know how many people use MacOS, but it has two features that might
> help here.  The first is common to a number of systems - you can register
> to receive events when the filesystem changes.  That is a private API on
> MacOS though, and it would require having a daemon running all the time.
> The second feature is directly more useful - there is a system daemon that
> listens to the first API and records all changes, fseventsd.  You can
> request a list of all changes in the filesystems below a certain
> directory, since a certain time.  The granularity is a little coarse -
> directories rather than files, and multi-second time increments.  But that
> isn't a huge problem - you just scan the directories that might have
> changed, rather than everything.

I think inotify does the same on Linux. I don't know about Windows,
however I assume there has to be something similar, because
QFileSystemWatcher [0], which I plan to use in guitone as soon as I
fixed the restricted inventory output, works on all supported platforms ;)

Thomas.

[0] http://doc.trolltech.com/4.3/qfilesystemwatcher.html

- --
GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHi0JIaf7NlBYNEJIRAqsOAKC20La/rIxB9dlgAKATrcDu9xQVhgCffi2j
oVSCTpY+4iZrhNzmr3maFcY=
=zME2
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]