On Wed, 11 Oct 2000, Cameron Simpson wrote:

> On Tue, Oct 10, 2000 at 01:45:51PM -0400, rpjday wrote:
> | dd if=/dev/hda | gzip > test.gz
> | 
> | rday
> | 
> | p.s.  dd if=/dev/hda bs=96k | gzip > test.gz  for efficiency
> 
> Though of course that still wastes time chucking data through the pipe
> between two programs. This:
> 
>       gzip </dev/hda >test.gz
> 
> should win. (Where'd the 96k come from - is it just an arbirary big chunk or
> do you have something specific in mind?)

i see your first point -- is there any slowdown based on lack of blocking?
and the 96k is a throwback when i used to make images of floppies --
exactly 15 of them in a 1.44M image.  obviously, any suitably large value
will do.

rday



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to