Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] small dispatch-conf patch, WAS: extension of etc-update
Date: Wed, 11 Aug 2004 21:03:20
Message-Id: 200408112303.12503.pauldv@gentoo.org
In Reply to: [gentoo-dev] small dispatch-conf patch, WAS: extension of etc-update by Radoslaw Stachowiak
1 On Wednesday 11 August 2004 22:55, Radoslaw Stachowiak wrote:
2 > Hello
3 >
4 > I posted my patch to dispatch-conf at http://dev.gentoo.org/~radek/
5 >
6 > This patch adds two important (for me :) things:
7 >
8 > * Batch mode support, when dispatch updates all possible files (non
9 > changed etc), and then prints remaining ones and exits.
10 > * Merge unmodified files, using mtime < ctime comparision. This makes
11 > unnecessary any md5sum storage/computing, while being (almost?)
12 > equally safe.
13
14 Config files are normally small enough so that md5sum comparison is cheap
15 enough. Why then rely on something fragile like mtime < ctime ?
16
17 Paul
18
19 --
20 Paul de Vrieze
21 Gentoo Developer
22 Mail: pauldv@g.o
23 Homepage: http://www.devrieze.net