1 |
On Sun, Oct 17, 2004 at 12:44:09AM +0000, Jeff Davidson wrote: |
2 |
> What about a hash of the directory? I haven't investigated the situation much, |
3 |
> but I'd have to imagine that a CRC32, md5, or SHA1 (overkill) would be able to |
4 |
> detect a file change and still be faster than always running modules-update. |
5 |
It would still fail if some content made use of the include directive, |
6 |
and included a file outside of your hashed dataset that got changed. |
7 |
|
8 |
You'd be better off integrating such a design into modules-update. |
9 |
|
10 |
One further reason that running modules-update is important, is to |
11 |
handle the need to run depmod if the content of modules/kernels changes. |
12 |
|
13 |
-- |
14 |
Robin Hugh Johnson |
15 |
E-Mail : robbat2@××××××××××××××.net |
16 |
Home Page : http://www.orbis-terrarum.net/?l=people.robbat2 |
17 |
ICQ# : 30269588 or 41961639 |
18 |
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 |