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


Groups > linux.debian.user > #181715

Re: Trying to understand man page for dd

From Curt <curty@free.fr>
Newsgroups linux.debian.user
Subject Re: Trying to understand man page for dd
Date 2017-06-03 14:00 +0200
Message-ID <tOfSO-6Ag-9@gated-at.bofh.it> (permalink)
References <tM51v-1tL-1@gated-at.bofh.it> <tM5bb-1NQ-7@gated-at.bofh.it> <tNGil-8hJ-9@gated-at.bofh.it>
Organization Unorganized

Show all headers | View raw


On 2017-06-01, Ulf Volmer <u.volmer@u-v.de> wrote:
> On 05/28/2017 02:05 PM, JPlews wrote:
>
>>>>     $ dd if=/dev/zero of=/dev/null& pid=$!
>>>>     $ kill -USR1 $pid; sleep 1; kill $pid
>
>> have a look at status=progress
>
> This option does not exist in debian stable.

Would 'pv' help?

 dd if=/dev/zero | pv | of=/dev/null

Apparently if you know the approximate 'size' it will give you will an
ETA.

 dd if=/dev/sdb | pv -s 2G | dd of=DriveCopy1.dd bs=4096

It can also be used directly as in the man page example

 pv file | nc -w 1 somewhere.com 3000

In this latter case it evaluates the file size directly.


> best regards
> Ulf
>
>


-- 
"It might be a vision--of a shell, of a wheelbarrow, of a fairy kingdom on the
far side of the hedge; or it might be the glory of speed; no one knew." --Mrs.
Ramsay, speculating on why her little daughter might be dashing about, in "To
the Lighthouse," by Virginia Woolf.

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


Thread

Trying to understand man page for dd Richard Owlett <rowlett@cloud85.net> - 2017-05-28 14:00 +0200
  Re: Trying to understand man page for dd JPlews <jw@plews.org.uk> - 2017-05-28 14:10 +0200
    Re: Trying to understand man page for dd Richard Owlett <rowlett@cloud85.net> - 2017-05-28 14:30 +0200
    Re: Trying to understand man page for dd Ulf Volmer <u.volmer@u-v.de> - 2017-06-02 00:00 +0200
      Re: Trying to understand man page for dd Curt <curty@free.fr> - 2017-06-03 14:00 +0200
  Re: Trying to understand man page for dd The Wanderer <wanderer@fastmail.fm> - 2017-05-28 14:10 +0200
    Re: Trying to understand man page for dd Richard Owlett <rowlett@cloud85.net> - 2017-05-28 14:30 +0200
  Re: Trying to understand man page for dd "Thomas Schmitt" <scdbackup@gmx.net> - 2017-05-28 14:50 +0200
    Re: Trying to understand man page for dd Richard Owlett <rowlett@cloud85.net> - 2017-05-28 15:00 +0200
  Re: Trying to understand man page for dd David <bouncingcats@gmail.com> - 2017-05-29 02:50 +0200
    Re: Trying to understand man page for dd "Thomas Schmitt" <scdbackup@gmx.net> - 2017-05-29 08:30 +0200
      Re: Trying to understand man page for dd Richard Owlett <rowlett@cloud85.net> - 2017-05-29 14:10 +0200
        Re: Trying to understand man page for dd David Wright <deblis@lionunicorn.co.uk> - 2017-05-29 15:40 +0200
          Re: Trying to understand man page for dd Richard Owlett <rowlett@cloud85.net> - 2017-05-29 16:20 +0200
            Re: Trying to understand man page for dd "Thomas Schmitt" <scdbackup@gmx.net> - 2017-05-29 17:20 +0200
            Re: Trying to understand man page for dd David Wright <deblis@lionunicorn.co.uk> - 2017-05-29 17:20 +0200
        Re: Trying to understand man page for dd David <bouncingcats@gmail.com> - 2017-05-30 04:30 +0200
    Re: Trying to understand man page for dd mbroe@oakland.edu - 2017-05-31 15:20 +0200

csiph-web