问题描述
嘿,我在插入IDE端口(PATA)的CF卡上使用XPe和NTFS。
为了复制我们制作的CF卡,我们使用从cf卡和复制站捕获的主图像。因此每个cf卡的内容是相同的。
在主映像上,"写入高速缓存"是相同的。 cf卡的设置已关闭。但是在重复的cf卡上它不是。
现在我检测到,在注册表中每个cf卡都有自己的设置:HKLM \ System \ CurrentControlSet \ Enum \IDE \ ...
是否有办法将所有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
推荐答案
这篇关于禁用CF卡的写缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!