Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有最新的二进制文件(9.43)。如何在 Windows 上使用它?hdparm 的 cygwin 发行版对于我想做的事情来说太旧了(6.x)。有没有办法使用cygwin运行9.43版本的hdparm?谢谢。
不幸的是,您不能为 Windows 编译 hdparm。虽然 hdparm 随其源代码一起分发,但该代码专门用于 Linux。作者没有为其他操作系统编写代码,所以程序只能在 Linux 上运行。
您也许可以让程序在 Windows 上的 cygwin 下运行,但在我看来这是一项巨大的努力,因为 hdparm 可以直接使用 IOCTL 命令等访问硬件。