Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTFSD
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


MoveFile an atomic operation

OSR_Community_UserOSR_Community_User Member Posts: 110,217
This forum seems the best place to ask this question.

Is a Movefile with in a NTFS shared area guaranteed to be atomic.

i.e. if several processes on several different machines all
attempt to move the same file at exactly the same time will
one of them succeed and the all others fail.

Also, I know that across File Systems a Movefile
may be executed as a copy and delete. In this case does
Movefile use locking to ensure the operation is atomic.
Can concurrent MoveFiles in this situation cause two
copies to be created.

I am writing a Distributed Batch Processor that executes batch files
as a logon screen saver (via a NT service) . This is to utilize a
large number (~200) of idle machines (PIII/500's,PII/300's) in our
computer labs.
Think SETI Screen Saver.
One researcher is already using a system like this here to compute a vast
statistical problem via Mathematica.
------------------------------------------------------------
Michael Simmons Technical Advisor/Network Administrator
Office of Executive Dean
Faculties of Economics & Commerce, Education and Law
Phone: (w)+61-8-9380 2985 University of Western Australia
Fax: +61-8-9380 1068 Stirling Highway Nedlands WA 6907
Email: mailto:[email protected] Australia
URL: http://www.ecel.uwa.edu.au/~michael/michael/
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA