[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding MD5 to Image...



On Sat, Aug 14, 2004 at 11:26:04AM +1200, Volker Kuhlmann wrote:
> > How about using tee(1)? You could have mkisofs write the image to 
> > stdout, then use tee to put it into a file as well as pipe it into 
> > md5sum.
> 
> I've been thinking this myself, but where it falls flat is that it
> requires to write the image to disk, instead of piping it straight to
> the burner.
> 
> One could try this though:
> 
> mkfifo /tmp/pipe
> md5sum </tmp/fifo&
> mkisofs ... | tee -a /tmp/pipe | cdrecord

On bash you can do simply:

$ mkisofs ... | tee >(md5sum) | cdrecord

Robert

-- 
Robert Schiele			Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker	mailto:rschiele@uni-mannheim.de

Attachment: pgp1xbtFPZbXw.pgp
Description: PGP signature


Reply to: