In XP, disks can still be optimized for fast removal.  In Device
Manager, open the property page for the storage device.  There should be
a Policies tab, which has options for "Optimize for quick removal" vs.
"Optimize for performance."  On fixed disks, there are also options for
controlling write caching.

-- arlie


-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of David Day
Sent: Monday, October 13, 2003 11:43 AM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] XP Disk Caching Issue


Hi List

Previously Windows disks could be described as "Removable".  With XP
this control has vanished.  When a disk in a device attrached to the PC
is shared so that XP can scan the disk as well (via SCSI in this case),
there are dangers associated with initiating read and write operations
on the hard drive from XP, because XP does not guarantee that the write
buffers will be committed to disk instantly.

I need therefore to write a .net "Explorer-like" app that reverses this
effect, and guarantees that read and write operations are complete,
leaving the disk's FAT table up to date, so that disk sharing can
continue without any errors being introduced.

I would welcome any ideas as to how you think I could achieve this.

with kind regards
DD.

David Day
STL EPOS Project
DDL: 2183
Tel: 01228 611836

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to