-----Original Message-----
From: Steven Edwards [mailto:winehacker@gmail.com]
Sent: Saturday, September 2, 2006 10:10 AM
To: 'ReactOS Development List'
Subject: Re: [ros-dev] scope?
On 9/1/06, James Tabor
<jimtabor(a)adsl-64-217-116-74.dsl.hstntx.swbell.net> wrote:
This could use some love. Tamlin fixed the reading code but the write
code needs to be turned on and checked.
Actually, come to think of it. If dosfsck can be made to work reliably in reactos then
FreeDOS chkdsk, which I wrote, should be portable to reactos, just by recompiling and
rearanging some files.
This is because i used the io.c file from dosfsck to port chkdsk to linux.
And that also means that defrag can be recompiled the same way, since it is the same FAT
manipulation code. Then only a windows interface would be needed!
Actually i think I am going to add a method to defrag, that pretty much does what windows
does (I think):
move through the directories, and for every file that is fragmented, move it to a space
where it can be store unfragmented.
You could do this a number of times until a fixpoint is reached or a fixed number of
times. And if you keep this up as long as defrag is running. You could build a defrag that
automatically keeps all your files defragmented (as far as possible).
If you want to do a full defragmentation then, maybe once a year, you would have to
arrange it so that the drive became locked for the duration of the defragmentation.
Imre
--
Steven Edwards
"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo
_______________________________________________
Ros-dev mailing list
Ros-dev(a)reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev