fix major/minor in test for posix block devices