git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Mouw <erik@harddisk-recovery.com>
To: linux@horizon.com
Cc: git@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@elte.hu
Subject: Re: enforcing DB immutability
Date: Wed, 20 Apr 2005 17:57:23 +0200	[thread overview]
Message-ID: <20050420155723.GC27307@harddisk-recovery.com> (raw)
In-Reply-To: <20050420084115.2699.qmail@science.horizon.com>

On Wed, Apr 20, 2005 at 08:41:15AM -0000, linux@horizon.com wrote:
> [A discussion on the git list about how to provide a hardlinked file
> that *cannot* me modified by an editor, but must be replaced by
> a new copy.]

Some time ago there was somebody working on copy-on-write links: once
you modify a cow-linked file, the file contents are copied, the file is
unlinked and you can safely work on the new file. It has some horrible
semantics in that the inode number of the opened file changes, I don't
know if applications are or should be aware of that.


Erik

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

  reply	other threads:[~2005-04-20 15:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20  8:41 enforcing DB immutability linux
2005-04-20 15:57 ` Erik Mouw [this message]
2005-04-22 16:10 ` Bill Davidsen
     [not found] <20050413165310.GA22428@elte.hu>
     [not found] ` <425D4FB1.9040207@zytor.com>
     [not found]   ` <20050413171052.GA22711@elte.hu>
     [not found]     ` <Pine.LNX.4.58.0504131027210.4501@ppc970.osdl.org>
     [not found]       ` <20050413182909.GA25221@elte.hu>
     [not found]         ` <Pine.LNX.4.58.0504131144160.4501@ppc970.osdl.org>
2005-04-13 20:02           ` Index/hash order Ingo Molnar
2005-04-13 20:07             ` H. Peter Anvin
2005-04-13 20:15               ` Ingo Molnar
2005-04-13 21:04                 ` Linus Torvalds
2005-04-20  7:40                   ` enforcing DB immutability Ingo Molnar
2005-04-20  7:49                     ` Ingo Molnar
2005-04-20  7:53                       ` Ingo Molnar
2005-04-20  8:58                         ` Chris Wedgwood
2005-04-20 14:57                       ` Nick Craig-Wood
2005-04-27  8:15                       ` Wout

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=20050420155723.GC27307@harddisk-recovery.com \
    --to=erik@harddisk-recovery.com \
    --cc=git@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@horizon.com \
    --cc=mingo@elte.hu \
    /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;
as well as URLs for NNTP newsgroup(s).