mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Learning ext2 fs
@ 2005-10-27 18:05 Paulo da Silva
  2005-10-27 18:26 ` Fawad Lateef
  2005-10-28 19:02 ` Jörn Engel
  0 siblings, 2 replies; 5+ messages in thread
From: Paulo da Silva @ 2005-10-27 18:05 UTC (permalink / raw)
  To: linux-kernel

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-28 19:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-27 18:05 Learning ext2 fs Paulo da Silva
2005-10-27 18:26 ` Fawad Lateef
2005-10-27 23:38   ` Paulo da Silva
2005-10-28  1:22     ` Fawad Lateef
2005-10-28 19:02 ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®