Agwan Posted February 25, 2011 Report Share Posted February 25, 2011 Hi,I have a USB SRAM drive, its like a USB flash drive, but it can update its files it self. The problem with windows in this case is that it caches the drives and no file information after the drive has been enummerated will be shown. I have to pull the device out, and put it in the USB port again to get updated files.1: Can I turn this caching of, so that every time I open a file on the dirve, I get the latest information from the drive?2: If I read the files from the drive using a C#, C++ or C-program on the PC, will it also just get the cached file information?Thanks!/Anders Quote Link to comment Share on other sites More sharing options...
bludgard Posted February 25, 2011 Report Share Posted February 25, 2011 Hi,Agwan.Welcome to Windows Forum.If you browse Device Manager>Disk Drives>right click the disk in question and select Properties.Under the Policies tab,chek that Optimize for quick removal is checked or that Enable write cahing on the disk is not selected.Hope this is of use. Quote Link to comment Share on other sites More sharing options...
Agwan Posted March 2, 2011 Author Report Share Posted March 2, 2011 No, sorry to say it does not help. The drive is already in optimize for removal and it still cashes the read. Writing to the drive is updated instantly, its the read that is only done once, and then this cashe is used. Quote Link to comment Share on other sites More sharing options...
bludgard Posted March 2, 2011 Report Share Posted March 2, 2011 No, sorry to say it does not help. The drive is already in optimize for removal and it still cashes the read. Writing to the drive is updated instantly, its the read that is only done once, and then this cashe is used.Are we talking about Windows Write Caching?Or some software that came preinstalled on the USB device? Quote Link to comment Share on other sites More sharing options...
Agwan Posted March 3, 2011 Author Report Share Posted March 3, 2011 No, sorry to say it does not help. The drive is already in optimize for removal and it still cashes the read. Writing to the drive is updated instantly, its the read that is only done once, and then this cashe is used.Are we talking about Windows Write Caching?Or some software that came preinstalled on the USB device?No, we are talking about read cashing. Windows read from the device only once. But since the files on the drive changes by it self, windows needs to be told to read from the drive every time the file is accessed, and not from the read cashe. Quote Link to comment Share on other sites More sharing options...
bludgard Posted March 3, 2011 Report Share Posted March 3, 2011 Sorry.I do not comprehend the problem stated.Maybe someone else can decipher this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.