From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Paulo da Silva <psdasilva@esoterica.pt>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Learning ext2 fs
Date: Fri, 28 Oct 2005 21:02:25 +0200 [thread overview]
Message-ID: <20051028190225.GC1269@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <436116DC.6030104@esoterica.pt>
On Thu, 27 October 2005 19:05:16 +0100, Paulo da Silva wrote:
>
> 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?
Maybe, but the error handling will drive you insane. My approach was
to copy on open, not on write. See
http://wohnheim.fh-wedel.de/~joern/cowlink/
Jörn
--
Happiness isn't having what you want, it's wanting what you have.
-- unknown
prev parent reply other threads:[~2005-10-28 19:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-27 18:05 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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051028190225.GC1269@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=linux-kernel@vger.kernel.org \
--cc=psdasilva@esoterica.pt \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®