Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2006 22:42:49 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-hackers@freebsd.org
Subject:   Re: [PATCH] adding two new options to 'cp'
Message-ID:  <ealq08$m9o$1@sea.gmane.org>
In-Reply-To: <44C82A40.3020009@centtech.com>
References:  <44C82A40.3020009@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Eric Anderson wrote:

> -a is 'archive' mode, which is just a quick form of -PpR.
> -l is 'link' mode, where regular files get hard linked instead of copied.

I agree with this, and while you're in there, can you add -s to copy 
sparse files (via the usual "if the buffer is all nulls, seek beyond eof 
instead of writing" trick)?

I recently had to copy big sparse files and dd with conv=sparse didn't 
work! I managed with rsync but I feel this functionality is the domain 
of 'cp' (yes, like it is in Linux - please don't start bikesheading on 
this detail).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ealq08$m9o$1>