禁用CF卡的写缓存 [英] disable write cache of CF card

查看:155
本文介绍了禁用CF卡的写缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我在插入IDE端口(PATA)的CF卡上使用XPe和NTFS。
为了复制我们制作的CF卡,我们使用从cf卡和复制站捕获的主图像。因此每个cf卡的内容是相同的。
在主映像上,"写入高速缓存"是相同的。 cf卡的设置已关闭。但是在重复的cf卡上它不是。
现在我检测到,在注册表中每个cf卡都有自己的设置:HKLM \ System \ CurrentControlSet \ Enum \IDE \ ... <因此,当复制cf卡时,"切换写入高速缓存"。设置不会复制到为这个新的和不同的cf卡创建的设置。对于这种新的cf卡,"写入缓存"是指"写入缓存"。设置默认设置为on。

是否有办法将所有cf卡的写缓存设置为关闭我将插入该系统?是否有Windows API设置写入缓存设置?
或者如何获取该单个cf卡的写入缓存设置的注册表项。序列号是注册表项的一部分。

感谢您的任何想法。
彼得

Hey,
I am using XPe and NTFS on a CF card plugged into the IDE port (PATA).
To duplicate the CF card for our production we are using a master image captured from a cf card and a copy station. So the contents of each cf card is identical.
On the master image the "write cache" setting of the cf card is off. But on the duplicated cf cards it is not.
Now I detected, that in the registry each individual cf card gets his own settings: HKLM\System\CurrentControlSet\Enum\IDE\...
So when duplicating a cf card the "switch write cache off" setting will not be duplicated to the settings created for this new and different cf card. For this new cf card the "write cache" setting is set to on by default.

Is there a way to set the write cache to off for all cf cards I will ever insert into that system ?
Is there a Windows API to set the write cache setting ?
Or how can I get the registry key for the write cache setting for that individual cf card. The serial number is part of the registry key.

Thanks for any idea.
Peter

推荐答案

Not确定是否有一种简单的方法可以做到这一点。 Diskpart可能有一个选项。

否则,您必须通过控制面板设置磁盘缓存。

-Sean
Not sure if there is an easy way to do this. Diskpart might have  an option.

Otherwise, you have to do set disk cache via control panel.

-Sean


这篇关于禁用CF卡的写缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆