lkml.org 
[lkml]   [2005]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectLearning ext2 fs
I am reading the ext2 fs code. One of my purposes
is to save the original data of a file to another file
just before it is changed by write/mmap/whatever.
Because of mmap (any other reasons?) I thought
of doing this at "ext2-writepage" or/and
"ext2-writepages".

Is this the right place?
Is there a lower level where I can read/write blocks
of data from/to hd instead of full pages?

How do I tell the really file data from other data?

I traced these functions but I only got
"ext2-writepages" to be called. "ext2-writepage"
was never called using the programs
I wrote to test this. When is "ext2-writepage" called?

Thanks for any help.
Any readings advice is also welcome.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-27 20:07    [W:0.055 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site