Menu

SnapRAID compile on OpenBSD

Help
ariel
2023-06-26
2023-06-26
  • ariel

    ariel - 2023-06-26

    Hi, I was compiling SnapRAID 12.2 on OpenBSD 7.3 amd64 and after doing 'make check' it is finished with the error below:

    ===== Filesystem allocation test
    head -c 8192 /dev/zero > bench/disk1/TEST
    head: unknown option -- c
    usage: head [-count | -n count] [file ...]
    *** Error 1 in . (Makefile:1219 'check-local')
    *** Error 2 in /home/asm/Downloads/snapraid-12.2 (Makefile:989 'check-am')

    I could fixed it changing the lines with problem:
    head -c 8192 /dev/zero > bench/disk1/TEST
    with this one:
    dd if=/dev/zero of=bench/disk1/TEST bs=1 count=8192

    It would be glad if you can review this sentences for BSD systems.

    What amazing tool is SnapRAID, thank you! I enjoy a lot using it on OpenBSD.

    Thanks!

     
  • Andrea Mazzoleni

    Hi ariel,

    I added the change in git.

    Thanks,
    Andrea

     

Log in to post a comment.