From: Al Boldi Subject: Re: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels) Date: Mon, 16 Jul 2007 20:23:04 +0300 Message-ID: <200707162023.04646.a1426z@gawab.com> References: <200707161722.53203.a1426z@gawab.com> <20070716165312.GA32647@lazybastard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: =?utf-8?q?J=C3=B6rn=20Engel?= , Satyam Sharma Return-path: Received: from [212.12.190.32] ([212.12.190.32]:32992 "EHLO raad.intranet" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751984AbXGPRXt convert rfc822-to-8bit (ORCPT ); Mon, 16 Jul 2007 13:23:49 -0400 In-Reply-To: <20070716165312.GA32647@lazybastard.org> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org J=C3=B6rn Engel wrote: > On Mon, 16 July 2007 22:14:41 +0530, Satyam Sharma wrote: > > On 7/16/07, Al Boldi wrote: > > >Satyam Sharma wrote: > > >> Or just "cp -al" to create multiple trees at (almost) no disk co= st > > >> 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 modi= fy, > > >instead > > >of misleading the user into thinking he is modifying an independen= t > > > file. > > > > "patch" already handles this correctly ... and > > backupcopy=3Dauto,breakhardlink in vim (and something similar in ot= her > > editors I presume) > > Yet even a single program failing to break the link will leave you wi= th > 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 ye= ars > 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=20 should definitely be considered for inclusion. Thanks! -- Al - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html