softupdates bug?

Ian FREISLICH ianf at clue.co.za
Mon Jun 2 06:36:12 UTC 2008


Hi

I have a small number of RRDs updated once a minute and images
generated using make periodically.  I've noticed that after the
update program which runs make, about 15-20 seconds later the mtime
of the rrd files changes.  I think I've narrowed it down to the
periodic sync writing the mtime of the file as the time it was
synced, rather than the actual last modification time.

[control.freislich] ~/graphing $ ls -lT *.rrd; date; sync; ls -lT *.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:07 2008 10.19D24C010800.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:07 2008 10.725A4C010800.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:07 2008 10.88CC53010800.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:07 2008 10.AB2D4C010800.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:07 2008 10.E32C4C010800.rrd
-rw-r--r--  1 ianf  wheel   18502048 Jun  2 08:29:07 2008 1D.6A560B000000.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:07 2008 26.1D82B5000000.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:07 2008 26.2882B5000000.rrd

Mon Jun  2 08:29:13 SAST 2008

-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:13 2008 10.19D24C010800.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:13 2008 10.725A4C010800.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:13 2008 10.88CC53010800.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:13 2008 10.AB2D4C010800.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:13 2008 10.E32C4C010800.rrd
-rw-r--r--  1 ianf  wheel   18502048 Jun  2 08:29:13 2008 1D.6A560B000000.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:13 2008 26.1D82B5000000.rrd
-rw-r--r--  1 ianf  wheel   20184160 Jun  2 08:29:13 2008 26.2882B5000000.rrd

Strange.

Has anyone else noticed this?

Ian

--
Ian Freislich



More information about the freebsd-current mailing list