Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Multiple file access, FreeDOS file locking support (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 16.06.2012, 14:31

> There is a possible new BUG (multiple file access):
>
> http://sf.net/tracker/?func=detail&aid=3530451&group_id=5109&atid=105109
>
> Anyone tested recent DGJPP in DOS ?

File locking should be part of the kernel and always should be loaded. The one failure even with FreeDOS's "SHARE" loaded is presumably because the FreeDOS file locking interface doesn't seem to account for updates that have to be propagated from SFTs used to write a file to all the other SFTs currently referring to the same file. I'm using "doesn't seem" here because it has been quite a time since I last looked more closely into file locking, and just now I only briefly glanced at FreeDOS's file locking code.

So basically, whenever concurrent writing is involved without file locking support, "bugs" are expected by design. Actual bugs which can and should be fixed are only (a) unexpected behaviour such as file system corruption if file locking support is enabled and (b) the possibility to disable file locking support at all.

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum