On Fri, 30 Mar 2001 12:29:36 +0000 (/etc/localtime), Mike keithley wrote:

>How does one compress a an image on a device.  Say I want to send a
>compressed image of /dev/sda to tape.  Seems like gzip won't work as it
>won't handle a device.  Thanks.

dd if=/dev/sda of=<file>
gzip <file> 

You can also write dd output to stdout and then pipe it to gzip,
but I can't remember the option. man dd.

/Per Jessen

regards,
Per Jessen


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to