Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
屏蔽设备测试
协议测试
blktest 是一种集成,可用于检查是否遵循了分块协议。
$ blktest -d /dev/class/block/000
文件系统测试
fs-test 是一个文件系统集成测试套件,可用于验证
文件系统上的 Fuchsia 文件系统正确性。
为避免与自动安装器竞争,建议
测试:
--assembly-override '//build/images/fuchsia/*=//local:disable_automount'
包含 //local/BUILD.gn 文件,如下所示:
import("//build/assembly/developer_overrides.gni")
assembly_developer_overrides("disable_automount") {
platform = {
storage = {
disable_automount = false
}
}
}
$ /boot/test/fs/fs-test -d /dev/class/block/000 -f minfs
正确性测试
iochk 是一款工具,可对块设备执行伪随机读写操作,以检查是否存在错误。
$ iochk -bs 32k -t 8 /dev/class/block/000
iotime 是一种基准测试工具,用于测试块设备的读写性能。
$ iotime read fifo /dev/class/block/000 64m 4k
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-02-18。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-02-18。"],[],[]]