Hi Eric,

2009/6/5 Eric Auer <e.a...@jpberlin.de>:

> Bart seems to work on this a lot, but unfortunately there is
> nothing about the progress on the mailing list.

well, at the time of setting up SVN I asked Jim if he could set up
sourceforge so the patches to go to the existing
freedos-cvs mailing list (where CVS commits were sent), put he seemed
to not understand what I meant.

Anyone with admin rights, Aitor? Jim? Pat? you can do this on SF:
click "Project Admin"
click "Feature Settings"
click "manage" next to "Subversion"
add an svnnotify hook, and type freedos-...@lists.sourceforge.net as
the email address.

the main ideas of the changes:
* there are only two near fnodes, and almost all operations use the
first fnode, fnode[0] except for dos_rename(), which also uses
fnode[1].
* file state is only kept in SFTs:
  an open/creat uses fnode[0], then copies the state to an SFT
  a read/write copies state from the SFT to fnode[0], does its work on
fnode[0], then copies back to the SFT.
  a close copies from the SFT to fnode[0], and closes the file.
* For FAT16 kernels, the SFT layout is documented in RBIL
* For FAT32 kernels, the SFT layout follows that of MSDOS 7.10 (not
documented in RBIL).
* the share support also needed some changes, because it needs to walk
the SFTs instead of the far fnodes to merge changes.

> Otherwise I
> would ask why r1416 rmdir drops the 00/eof check (does it?)
> and why r1397 drops the dos_commit-only way of close(?) and
> how get_f_nodes_cnt works, among other things...

well, you ask these questions anyway, one wise or otherwise...
r1416:
Look at what dir_read(fnp)==1 means in fatdir.c...

r1397:
dos_commit was no longer necessary: a commit (int21/ah=68,6a), in
DosCloseSft() just calls dos_close() without closing the SFT.

get_f_nodes_cnt() was an intermediate function that no longer exists
(to keep individual changes small)
It just walked the SFT chain and computed the FILES= value.

Bart

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to