mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Al Boldi <a1426z@gawab.com>
To: "Jörn Engel" <joern@logfs.org>,
	"Satyam Sharma" <satyam.sharma@gmail.com>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)
Date: Mon, 16 Jul 2007 20:23:04 +0300	[thread overview]
Message-ID: <200707162023.04646.a1426z@gawab.com> (raw)
In-Reply-To: <20070716165312.GA32647@lazybastard.org>

Jörn Engel wrote:
> On Mon, 16 July 2007 22:14:41 +0530, Satyam Sharma wrote:
> > On 7/16/07, Al Boldi <a1426z@gawab.com> wrote:
> > >Satyam Sharma wrote:
> > >> Or just "cp -al" to create multiple trees at (almost) no disk cost
> > >> that won't interfere with each other in any way, and makes the
> > >> development process / generating patchsets trifle easier as well ...
> > >
> > >That would be correct if hardlinks would actually do a CoW on modify,
> > >instead
> > >of misleading the user into thinking he is modifying an independent
> > > file.
> >
> > "patch" already handles this correctly ... and
> > backupcopy=auto,breakhardlink in vim (and something similar in other
> > editors I presume)
>
> Yet even a single program failing to break the link will leave you with
> a mess to sort out.

No kidding!

> The only place that can ensure to always break the
> link is the kernel.  Which is why I wrote the cowlink patches some years
> back.

Can you post a patch against 2.6.22?

> The still need a lot of love to be merge-ready.  But I do use them on a
> daily basis.

Well, if the patch is lean and optional and runtime configurable, then they 
should definitely be considered for inclusion.


Thanks!

--
Al


  reply	other threads:[~2007-07-16 17:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16 14:22 Al Boldi
2007-07-16 16:44 ` Satyam Sharma
2007-07-16 16:53   ` Jörn Engel
2007-07-16 17:23     ` Al Boldi [this message]
2007-07-16 21:10       ` Jörn Engel
2007-07-17 11:43 ` Geert Uytterhoeven

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=200707162023.04646.a1426z@gawab.com \
    --to=a1426z@gawab.com \
    --cc=joern@logfs.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=satyam.sharma@gmail.com \
    /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®