sha1sum md5sum check problem

Larry Brigman larry.brigman at gmail.com
Fri Jan 12 21:02:53 UTC 2007


I am making an assumption about these two programs.
The assumption is that I should be able to give a
line like below and have it check and say if everything is
correct.
sha1sum -c chksum.txt

The expected output is this:
vmlinuz: OK
initrd.img: OK
sfs-image.img: OK

chksum.txt contents:
b1dbebeecf4665c3b65ad4db1d9f75013fe38142  vmlinuz
b2d3fda63f2630feb11896a4bd7e18b270194ef1  initrd.img
a60803b84cd5b048497f72635c96c8df6c0c0cf0  sfs-image.img

busybox version 1.2.1 1.3.0 and 1.3.1 produce the following:
sha1sum: -c: No such file or directory
162468eba4be4c0bdf6afaf2a505f39303bf8be1  chksum.txt

Any chance of a solution to this or do I just need to dig into the code
and find it?



More information about the busybox mailing list