Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #162400

Re: Putting It All On a Stick

From Eduard Bloch <edi@gmx.de>
Newsgroups linux.debian.user
Subject Re: Putting It All On a Stick
Date 2015-12-31 19:20 +0100
Message-ID <qLPZo-7SO-15@gated-at.bofh.it> (permalink)
References <qLOJX-6Ul-1@gated-at.bofh.it> <qLP3l-7gO-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hallo,
* Thomas Schmidt [Thu, Dec 31 2015, 06:11:39PM]:
> Hi,
> 
> Steve Matzura wrote:
> > The one thing I forgot is cp and dd are not the same.
> 
> I was surprised that cp onto block devices really works as
> needed for this purpose.
> You could also do
>   cat debian-8.2.0-amd64-BD-1.iso >/dev/sdc
> 
> But for old unixers no other tool than dd comes to the mind.

It's like duck typing: if it has syscalls like cp and uses them like cp
then it must be cp... at least something like that.

In the end, dd gives you more control (buffer sizes, IO synchronization
behavior for data/metadata) and it can print the status with SIGUSR1.

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. Not sure whether
they changed the default mode to blocking mode nowadays.


Regards,
Eduard.

-- 
<towo> Du solltest wissen: Du bist hier im Internet. Da wird jede Deiner
	Aussagen so verdreht, dass man Dich in Grund und Boden flamen kann.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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