Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #162420
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Putting It All On a Stick |
| Date | 2016-01-01 11:40 +0100 |
| Message-ID | <qM5hM-1eu-3@gated-at.bofh.it> (permalink) |
| References | <qLPZo-7SO-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi,
Eduard Bloch wrote:
> But for regular "push data around from FD to FD" job the only crucial
> difference I remember is the nasty behavior of dd when a short read
> occurres - aborting instead of retrying as cp does.
I saw it padding up short blocks and going on when i was
still on SuSE 10. This happened when reading from pipes with
slowly trickling data output.
Jessie's dd seems to be quite ok, though
$ for i in 0 1 2 3 4 ; do echo bla ; sleep 1 ; done >fifo
and
$ dd if=fifo bs=1024 >/tmp/dd_output
0+5 records in
0+5 records out
20 bytes (20 B) copied, 5.00444 s, 0.0 kB/s
yields exactly 20 bytes in /tmp/dd_output. Not 5 KiB or 4 bytes.
(It seems not to block but rather read on after each of
the 4-byte lines arrived. 5 reads. 20 bytes.)
The power of dd shows with commands like
dd if=/dev/zero conv=notrunc bs=1 seek=446 count=1 \
of=debian-8.2.0-amd64-BD-1.iso
which zeros the "bootable/active" flag of MBR partition 1.
Have a nice day :)
Thomas
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-29 22:30 +0100
Re: Putting It All On a Stick "Andrew M.A. Cater" <amacater@galactic.demon.co.uk> - 2015-12-29 22:40 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-30 03:00 +0100
Re: Putting It All On a Stick Rick Thomas <rbthomas@pobox.com> - 2015-12-30 05:40 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-30 15:00 +0100
Re: Putting It All On a Stick <tomas@tuxteam.de> - 2015-12-30 10:50 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-30 15:10 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-30 16:30 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-30 16:40 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-30 16:50 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-30 19:50 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-30 16:40 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-30 18:30 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-30 19:00 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-30 19:20 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-30 19:30 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-30 20:00 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-30 20:40 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-30 20:50 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-30 21:00 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-30 20:50 +0100
Re: Putting It All On a Stick Joe <joe@jretrading.com> - 2015-12-30 21:40 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-31 00:10 +0100
Re: Putting It All On a Stick Joe <joe@jretrading.com> - 2015-12-31 10:30 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-31 11:30 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-31 16:30 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-31 17:10 +0100
Re: Putting It All On a Stick Richard Owlett <rowlett@cloud85.net> - 2016-01-01 16:40 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-30 21:30 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-30 22:20 +0100
Re: Putting It All On a Stick "Thomas Schmitt" <scdbackup@gmx.net> - 2015-12-30 22:40 +0100
Re: Putting It All On a Stick Rick Thomas <rbthomas@pobox.com> - 2015-12-31 02:20 +0100
Re: Putting It All On a Stick "Thomas Schmitt" <scdbackup@gmx.net> - 2015-12-31 10:20 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-31 16:50 +0100
Re: Putting It All On a Stick Richard Owlett <rowlett@cloud85.net> - 2016-01-01 15:20 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-31 16:30 +0100
Re: Putting It All On a Stick Joe <joe@jretrading.com> - 2015-12-31 16:50 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-31 17:10 +0100
Re: Putting It All On a Stick "Thomas Schmitt" <scdbackup@gmx.net> - 2015-12-31 17:30 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-31 18:00 +0100
Re: Putting It All On a Stick "Thomas Schmitt" <scdbackup@gmx.net> - 2015-12-31 18:20 +0100
Re: Putting It All On a Stick Eduard Bloch <edi@gmx.de> - 2015-12-31 19:20 +0100
Re: Putting It All On a Stick John Hasler <jhasler@newsguy.com> - 2015-12-31 19:30 +0100
Re: Putting It All On a Stick "Thomas Schmitt" <scdbackup@gmx.net> - 2016-01-01 11:40 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-31 18:30 +0100
Re: Putting It All On a Stick <tomas@tuxteam.de> - 2015-12-31 19:00 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-31 20:20 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-31 16:40 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-31 17:20 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-31 17:50 +0100
Re: Putting It All On a Stick Steve Matzura <sm@noisynotes.com> - 2015-12-31 18:00 +0100
Re: Putting It All On a Stick Rick Thomas <rbthomas@pobox.com> - 2016-01-02 22:00 +0100
Re: Putting It All On a Stick "Thomas Schmitt" <scdbackup@gmx.net> - 2015-12-31 18:00 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-31 17:20 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-30 20:40 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-30 21:00 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-31 00:10 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-31 00:20 +0100
Re: Putting It All On a Stick Chris Bannister <cbannister@slingshot.co.nz> - 2016-01-01 16:20 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2016-01-01 17:20 +0100
Re: Putting It All On a Stick Chris Bannister <cbannister@slingshot.co.nz> - 2016-01-06 15:00 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2016-01-06 16:50 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2016-01-06 20:30 +0100
Re: Putting It All On a Stick Rick Thomas <rbthomas@pobox.com> - 2015-12-30 21:00 +0100
Re: Putting It All On a Stick Brian <ad44@cityscape.co.uk> - 2015-12-30 22:00 +0100
Re: Putting It All On a Stick Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-30 19:50 +0100
Re: Putting It All On a Stick <tomas@tuxteam.de> - 2015-12-30 16:50 +0100
Re: Putting It All On a Stick Richard Owlett <rowlett@cloud85.net> - 2015-12-30 18:00 +0100
csiph-web