Tuesday, October 8, 2013

FreeBSD's badblocks utility

I had a hard time finding badblocks for FreeBSD 9.2 when Googling for "FreeBSD badblocks": https://google.com/search?&q=FreeBSD+badblocks

pkg_add -r e2fsprogs

If you're in csh or tcsh or zsh, run rehash and you can use badblocks.

Should've realized looking up what package provides it for Linux (also e2fsprogs) would've found me the package for FreeBSD.