CONFIG_FEATURE_PRESERVE_HARDLINKS

Shaun Jackman sjackman at gmail.com
Fri Mar 24 00:39:13 UTC 2006


On 3/23/06, Rich Felker <dalias at aerifal.cx> wrote:
> On Thu, Mar 23, 2006 at 04:37:58PM -0700, Shaun Jackman wrote:
> > Can someone please explain to me what
> > CONFIG_FEATURE_PRESERVE_HARDLINKS does? coreutils/Config.in says,
> > "Allow cp and mv to preserve hard links.", which I find a bit cryptic.
>
> I think it means that if you recursively copy a tree containing 1000
> hard links to a single 1k file, the copied tree will only take ~1k
> instead of ~1M.
>
> Rich

Ah, that makes so much sense now. Thanks, Rich!

Cheers,
Shaun


More information about the busybox mailing list