Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2005 15:59:55 +0100
From:      Thomas Hurst <tom.hurst@clara.net>
To:        Stephen McKay <smckay@internode.on.net>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Subject:   Re: Heads up: gtar gone from base system
Message-ID:  <20050412145955.GA97179@voi.aagh.net>
In-Reply-To: <200503310148.j2V1mvL3006507@dungeon.home>
References:  <20050327223238.GA749@polands.org> <010401c53385$584a04c0$6800000a@venti> <20050329041527.GA9586@VARK.MIT.EDU> <20050329062550.GA69824@cirb503493.alcatel.com.au> <200503301139.j2UBdMp5016442@dungeon.home> <200503301449.j2UEn1v5061914@khavrinen.lcs.mit.edu> <200503310148.j2V1mvL3006507@dungeon.home>

next in thread | previous in thread | raw e-mail | index | archive | help
* Stephen McKay (smckay@internode.on.net) wrote:

> It's obvious that "cp" has split hard links for all its life because
> the original programmer was lazy.  That this laziness has been
> codified in POSIX is not something to be cheered, although at this
> late stage it may be too hard to fix.

A little bird tells me GNU cp has a -d option which makes it handle
hardlinks properly, and an -a option so you can just do cp -a src dest.
Maybe worth adopting?

-- 
Thomas 'Freaky' Hurst
    http://hur.st/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050412145955.GA97179>