-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2013-10-20 at 17:55 +0200, Jan Engelhardt wrote:
On Sunday 2013-10-20 17:17, Carlos E. R. wrote:
So stop using dd already. Use ddrescue - it's saner in every aspect.
New problem. It is not the standard ddrescue, but gnu ddrescue, which does not include dd_rhelp.
I never claimed it's "dd_rescue" :)
dd_rescue is comparatively dumb - it reads sectors from start to finish (size and direction according to parameters). To support block-splitting, block-jumping and whatever else, someone came up with dd_rhelp, which is quite the hack.
In gnu_ddrescue, all that is built-in and automatic.
Hugh. More tools to learn.
And the syntax is different. How do I write a random file of exactly 100 bytes?
Follow what other tools do: -s for size, -i for input, -o for output. dd_rescue is rather... special with having chosen -m, -s and -S.
No, turns out that -i is starting position and -o is starting position in output cer@Minas-Anor:~> ddrescue -s 100 -i /dev/random -o sample ; ls -l sample ddrescue: Bad or missing numerical argument. Try 'ddrescue --help' for more information. - -rw-r--r-- 1 cer users 100 Oct 20 20:12 sample cer@Minas-Anor:~> Correct ussage is: cer@Minas-Anor:~> ddrescue -s 100 /dev/random sample ; ls -l sample GNU ddrescue 1.17 Press Ctrl-C to interrupt rescued: 100 B, errsize: 0 B, current rate: 5 B/s ipos: 0 B, errors: 0, average rate: 5 B/s opos: 0 B, time since last successful read: 0 s Finished - -rw-r--r-- 1 cer users 100 Oct 20 20:21 sample cer@Minas-Anor:~> - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJkH7IACgkQtTMYHG2NR9Vx/ACfR+Uuo9SBXONgyP/yrwMc7ZSr 9ZEAn0k8gbJ/9GYLzvOB4c3wcpxEDR1E =nPTQ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org