Bug 21255

Summary: /sbin/md5 suggestion
Product: Base System Reporter: rich winkel <rich>
Component: miscAssignee: Poul-Henning Kamp <phk>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description rich winkel 2000-09-13 23:30:00 UTC
md5 -p option corrupts stdout pipe data with chksum.  it would be more
useful to output chksum to stderr, so one could do:
tar czBf - dir|md5 -p|ssh otherhost 'md5 -p|tar xzBpf -'
and get two checksums to compare, vs a
"gzip: stdin: decompression OK, trailing garbage ignored"
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-09-14 15:34:45 UTC
Responsible Changed
From-To: freebsd-bugs->phk

Personally, I think it's a little late in the game to be changing 
the way this option works, particularly since it's possible 
that many folks already rely on its existing behaviour. 

But we'll hand this over to Poul-Henning, who originally 
brought this option on-board, and let him decide.
Comment 2 Poul-Henning Kamp 2000-09-16 20:40:57 UTC
The -p option was originally used in the first CTM generator.

I personally don't need it anymore, but I am not sure if we can
count on nobody else using it.

Suggest we add a new option for it instead.

If you submit a patch (remember manpage) I'll commit it.

Poul-Henning
Comment 3 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-11-16 22:56:30 UTC
State Changed
From-To: open->closed

timed out