HAMMER Utilities: Streaming mirroring!
commit48eadef9799e5b31eb2e3a02f581b2be633ad598
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 31 Jul 2008 06:01:32 +0000 (31 06:01 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 31 Jul 2008 06:01:32 +0000 (31 06:01 +0000)
treeee8e41a85ad0ba16cdadb626a43478f0d98b47f8
parent4889cbd4a112d640408111b521aee58156f8a202
HAMMER Utilities: Streaming mirroring!

* Add a new streaming mirroring feature called 'mirror-stream' which works
  like mirror-copy but does not exit unless the pipe is broken.  A simple
  script to sleep and re-run the command (to deal with the occassional
  broken tcp connection) is all that is needed.

* Add new options -b <bw> and -i <delay> to support bandwidth-limiting
  mirroring streams.  The bandwidth may be specified in bytes/sec or suffixed
  with 'k', 'm', or 'g' to specify kilobytes, megabytes, or gigabytes per
  second.
sbin/hammer/cmd_mirror.c
sbin/hammer/cmd_pseudofs.c
sbin/hammer/hammer.8
sbin/hammer/hammer.c
sbin/hammer/hammer.h