9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] replica/updatedb
@ 2007-03-07 13:47 erik quanstrom
  2007-03-07 16:00 ` Russ Cox
  0 siblings, 1 reply; 2+ messages in thread
From: erik quanstrom @ 2007-03-07 13:47 UTC (permalink / raw)
  To: 9fans

i'm using updatedb on two successive days in a dump
where $path on day n-1 was a file and $path on day n
was a directory.  updatedb generates an 'm' (modified
stat) line for this case.  this seems wrong to me.
i would think that it should generate a 'd' (delete) followed 
by a 'c'  (create) pair.  although i'm sure an argument could
be made the other way.

i'm leaning toward changing updatedb.  is there a better
argument for fixing the consumer?

- erik


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-07 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-07 13:47 [9fans] replica/updatedb erik quanstrom
2007-03-07 16:00 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).