Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tristan Cavelier
toolbox
Commits
d2114183
Commit
d2114183
authored
Jun 23, 2016
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cros-gunzip-dd: add some doc
parent
9a1e0683
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
cros-gunzip-dd.py
cros-gunzip-dd.py
+3
-1
No files found.
cros-gunzip-dd.py
View file @
d2114183
...
...
@@ -4,7 +4,9 @@
Usage: cros-gunzip-dd.py SRC.gz DEST
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
src
=
gzip
.
open
(
sys
.
argv
[
1
],
"rb"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment