David Bustos writes:
> Quoth Steve Peng on Mon, Jan 28, 2008 at 04:02:45PM -0700:
> > well.  I have posted the new incremental webrev under
> > 
> > http://cr.opensolaris.org/~stevep/6351623-2
        [SNIP]
> 
>   1272: What will happen if src is different from be->be_path?
>     I suppose src will probably be differently sized, so
>     backend_switch_copy() will fail.  If they happen to be the same
>     size, but with different contents, then any data we have cached in
>     memory could be wrong.  I don't know what would happen, but I don't
>     think I can rule out it being very bad.  I think it would be better
>     to just use be->be_path and stop allowing src to be specified by the
>     client.

In the early days of this project when Steve and I were kicking ideas
around, I think that I suggested that we allow the client to specify source
and destination.  My thinking was that this might be useful in writing test
tools.

I'm now convinced that it was a bad idea.  I think that David is right in
that we should not allow the client to specify the source file.  configd
should know what repository it is working with.

tom

Reply via email to