Hi Martin,

It is my report for week 4.

I was working for implementation read function. I have node in which I
have saved array of allocators. Each allocator could contains one or
more sectors. Last allocator could contains part of sector. My read
function have to interpret array of allocators as file or directory.

In case file, I have to read part of file by position and length. So,
I found sector where my position  locates and read data according
conditions. In case directory, I have number of descriptor (file of
directory) which I have to read. It is means that I have to find FID
(File identifier descriptor). But here I meet some problem. According
to docs one sector could contains one or more FIDs, but I didn't find
any information about could or not sector contains part of FIDs. I
hope not, but I am testing it now.

I will make commit with read functions when I finish testing. I
haven't implemented  match function yet, and It is means that it can't
pass normal tests. And when I was reading sequence of allocation
descriptors I didn't read allocator which redirects to next sequence.
I.e. by this time I read not all files from directory. But I didn't
have any problem with it. I just moved that part of work after reading
to be sure I can interpret allocators.

Julia

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to