首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 代码来行使一个新的硬盘驱动器,突袭机箱等

代码来行使一个新的硬盘驱动器,突袭机箱等

  • 资源大小:3.16 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 硬盘 代码 一个 驱动器

资 源 简 介

What do you do when you want to test a shiny new disk drive? After using dd and tar and so forth, we decided to write a more strenuous test for new drives. This program does a random walk over the entire (raw) disk, reading a 4K block. This provides several exercises of the disk and the I/O layers. If nothing else, it makes lots of noise and heat, and the all-important blinking lights that show the boss that you"re getting lots of work done. I had a mode in place to do write-after-read, and then realized that I"d have to check and see if the device was mounted to avoid evil race condition errors, and then decided to skip the idea for now. I figure, the read-only mode is a pretty good test, at least for now. Warning! This program operates on the raw device file, requiring root access or comparable device permissions. This is not without significant risk. The program carries no guarantees, etc, etc. If it breaks, you get the pieces. Doc

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP