public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: Jason <unleet@qwest.net>
To: speakup@braille.uwo.ca
Subject: Re: piping output of dd through bzip2
Date: Mon, 14 Jan 2002 15:25:30 -0700	[thread overview]
Message-ID: <02011415253001.05800@lightstar> (raw)
In-Reply-To: <Pine.LNX.4.33.0201141057240.301-100000@lnx3.holmesgrown.com>

no need to even do that, dd's output only goes to 'of' if the of= parameter 
is specified, otehrwise it copies to standard output.

all you would need is:
dd if=/dev/hda | bzip <whatever>
replace <whatever> with the command line parameters needed for bzip to output 
to a file (refer to 'man bzip' for details).

> The output of dd always goes to the device or file specified for of=
> Example: dd if=/dev/hda of=something
> My problem here is I don't know how you can specify that of is to be piped
> into bzip2.  Some programs use the `-' to represent the standard pipe. in
> which case, you might be able to say:
> dd if=/dev/hda of=-; bzipz -
> Sorry, don't have experience with bzip2's command parms but hopefully this
> makes sense in concept.


  reply	other threads:[~ UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 Gregory Nowak
 ` Steve Holmes
   ` Jason [this message]
     ` Gregory Nowak
       ` Jason
         ` Gregory Nowak
           ` Jason
             ` Gregory Nowak
               ` Jason
                 ` Gregory Nowak
                   ` Steve Holmes
                     ` Gregory Nowak
                 ` Steve Holmes
               ` Kirk Wood
           ` Charles Hallenbeck
 Tyler Spivey
 ` Gregory Nowak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=02011415253001.05800@lightstar \
    --to=unleet@qwest.net \
    --cc=speakup@braille.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).