Commit d2114183 authored by Tristan Cavelier's avatar Tristan Cavelier

cros-gunzip-dd: add some doc

parent 9a1e0683
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
Usage: cros-gunzip-dd.py SRC.gz DEST Usage: cros-gunzip-dd.py SRC.gz DEST
It's a shortcut for `zcat SRC.gz | dd of=DEST`. Useful on nayuos because the It's a shortcut for `zcat SRC.gz | dd of=DEST`. Useful on nayuos because the
"dd" command may crash. "dd" command may crash. Unlike "dd", this script does not writing
synchronously, you may want to wait for cache to be emptied after the copy.
You can still force your system to empty its caches by using `sync` command.
""" """
import sys, gzip import sys, gzip
src = gzip.open(sys.argv[1], "rb") src = gzip.open(sys.argv[1], "rb")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment