Try something like
dd if=/dev/sr0 of=foo.img bs=2k count=`isosize -d 2048 /dev/sr0` | sha256sum -
Note the backquotes for command substitution of the output of isosize.
I haven't tried this just now, so it's possible that I've got the details wrong.
Eric
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines