No. Use dd to access devices. dd will automatically pick up the native
blocking factor for the device. On;y use blocking factors if you know what
you're doing.
--
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]
On Wed, 11 Oct 2000, rpjday wrote:
=>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.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list