From: Al Boldi Subject: Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels) Date: Mon, 16 Jul 2007 17:22:53 +0300 Message-ID: <200707161722.53203.a1426z@gawab.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org To: linux-fsdevel@vger.kernel.org Return-path: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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. Moral of the story: try to avoid hardlinks as much as possible! Thanks! -- Al