Hello Matthew,
Friday, June 9, 2006, 1:16:41 AM, you wrote:
MA> On Thu, Jun 08, 2006 at 03:43:08PM -0700, Robert Milkowski
wrote:>> According to zfs(1M)
>>
>> " -v Print verbose information about the stream and
>> the time required to perform the receive.
>> "
>>
>> However when using -v option I only get:
>>
>> receiving full stream of p6/d5212 at r1 into nfs-s5-s8/d5212 at r1
MA> If you are not getting a report of the time taken, that is a bug.
MA> It works for me:
MA> # zfs send foo/bar at a | zfs recv -v foo/test at a
MA> receiving full stream of foo/bar at a into foo/test at a
MA> received 10.0Mb stream in 2 seconds (5.02Mb/sec)
MA> #
MA> Note that the report of time taken is printed after the stream has been
MA> successfully received.
Well, I get it after receive is completed.
However man page says that time required to receive will be printed -
which imho is different than a summary.
btw: it would be useful if in a verbose mode an estimated time to
finish would be printed/updated and then after it actually finished a
summary would be printed (like it is now).
MA> You can see the code which calculates this in libzfs_dataset.c, at the
MA> very end of zfs_receive(), under "if (verbose)".
Must have overlooked it - as I assumed ETA being printed while receive
is in progress.
Anyway - thanks for pointing this.
--
Best regards,
Robert mailto:rmilkowski at task.gda.pl
http://milek.blogspot.com