mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adam Borowski <kilobyte@angband.pl>
To: Thomas Meyer <thomas@m3y3r.de>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Copy on write hard links?
Date: Wed, 25 Sep 2013 03:40:42 +0200	[thread overview]
Message-ID: <20130925014042.GA30393@angband.pl> (raw)
In-Reply-To: <0EF3994A-6BC7-4FC7-AD2D-B4BE087EBFCA@m3y3r.de>

On Tue, Sep 24, 2013 at 08:36:56PM +0200, Thomas Meyer wrote:
> Is there such a thing?

In mainline, AFAIK no.  The vserver patchset, on the other hand, adds a new
xattr, iunlink, that copies the whole file when needed.  That works on most
filesystems.

That's quite a hack, though, and I think you'd be better off using btrfs
which does cow transparently at a lower level than hardlinks.

-- 
ᛊᚨᚾᛁᛏᚣ᛫ᛁᛊ᛫ᚠᛟᚱ᛫ᚦᛖ᛫ᚹᛖᚨᚲ

  reply	other threads:[~2013-09-25  1:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-24 18:36 Thomas Meyer
2013-09-25  1:40 ` Adam Borowski [this message]
2013-09-25 13:59 ` Rob Landley
2013-09-25 14:28   ` Thomas Meyer
2013-09-25 14:37     ` richard -rw- weinberger
2013-09-29  5:22       ` Pádraig Brady
2013-09-29  7:14         ` Richard Weinberger
2013-09-29 17:19           ` Pádraig Brady
2013-12-13 22:58     ` Jörn Engel

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=20130925014042.GA30393@angband.pl \
    --to=kilobyte@angband.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thomas@m3y3r.de \
    /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®