Make check_mount_writes() test appropriate device types