Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate count for customized dd blocksize
In previous commit we introduce a configurable blocksize option for 'dd' command, however the 'count' value wasn't updated accordingly. As a result, count could be too small which is bug. This patch introduce a private method to 1) validate custom dd blocksize; 2) calculate correct count value. Fix bug: 1192258 Change-Id: Icfd2d80e8f615ed585bd1d40c741a97cf55299d3
- Loading branch information
Zhiteng Huang
committed
Jun 26, 2013
1 parent
6f3b40c
commit 411a85d
Showing
2 changed files
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters