DragonFly kernel List (threaded) for 2008-11
Re: Side-project feature request for 'hammer mirror-*' functions
Matthew Dillon schrieb:
:> Appended is a first patch. I'm unsure if this is the correct way to do
:> it, as the protocol is modified, and I think it's not easily possible to
:> read "yes" or "no" from the keyboard in mirror-write (when run via ssh).
:> Funny, when I run mirror-copy several times I get a panic (screenshot
:> appended). I don't think this can be related to my changes...
:This appended patch is even easier.
Ok, I am going to commit this. I have to note that adding the
additional mrec packet makes the mirror stream code incompatible
with previous versions, so both machines would have to run the
latest code. But I agree it is necessary and I should have done it
as part of the original handshake code.
Great! I was concerned about the compatibility issue.
Any bad things that can happen when two incompatible versions communicate?
I will add the yes/no input handling code :-)