maybe OT: cpdup on Linux?

Pierre Abbat phma at bezitopo.org
Sun Dec 16 03:31:05 PST 2012


On Saturday, December 15, 2012 21:06:30 Matthew Dillon wrote:
>     cpdup is native to DragonFly.  /usr/src/bin/cpdup.  I expect it would
>     be fairly easy to port to linux though you have to make sure that
> linux's file offset mode is 64 bits and not 32 bits (different
> distributions default to different modes, though presumably all 64-bit
> distributions use 64-bit file offsetes).

off_t on 64-bit Ubuntu is 8 bytes (I wrote a tiny test program). Can I include 
md5?

Pierre
-- 
When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.





More information about the Users mailing list