remove unused tdisk and bdev stubs
debian build fixes
bsd build fixes