• Harald Sitter's avatar
    fix device type check for freebsd · 313bd99b
    Harald Sitter authored
    on freebsd there are only character devices. This is a bit meh because
    more than actual disks devices match this check but Adriaan knows no
    better options either short of what smartctl needs to do anyway, so we'd
    not win much by complicating matters on our end.
    (cherry picked from commit 95761dde)