It would be a bit better to move the Linux and FreeBSD implementations into independent files, so something like `facter/util/blockdevices/linux.rb` and `facter/util/blockdevices/freebsd.rb` respectively.