Forward error correction routines?

Nikos Vassiliadis nvass at
Wed Dec 14 09:12:33 UTC 2011

On 12/14/2011 5:45 AM, Dennis Glatting wrote:
> I am looking for /any/ forward error correction code under FreeBSD,
> whether Hamming Codes, Golay Codes, Reed-Solomon, BCH codes, etc. or
> convolution encoders/decoders.
> All I've found is:
> * libfec, which only runs under i386 (I am 64 bit), and
> * reed-solomon, which is merely a library and no executables.
> Is there any usable utilities? Clue please.

You could try this:

It is meant to be used with storage devices and does interleaving
so it can recover a lost sector.

Hint: the decoded output contains garbage at the end, you
have to use the included utility(or dd) to get the correct file size.

HTH, Nikos

More information about the freebsd-questions mailing list