Re: du algorithm to calculate diskspace

2017-10-02 Thread Otto Moerbeek
On Mon, Oct 02, 2017 at 12:11:21PM +0200, Peter Hessler wrote: > hardlinks will not duplicate disk space. > > scp doesn't understand hardlinks. > > > On 2017 Oct 02 (Mon) at 12:08:28 +0200 (+0200), rosjat wrote: > :hi there, > : > :I just noticed, while copying stuf from a very old OpenBSD 4.2

Re: du algorithm to calculate diskspace

2017-10-02 Thread Peter Hessler
hardlinks will not duplicate disk space. scp doesn't understand hardlinks. On 2017 Oct 02 (Mon) at 12:08:28 +0200 (+0200), rosjat wrote: :hi there, : :I just noticed, while copying stuf from a very old OpenBSD 4.2 to a OpenBSD :6.1 that du on both systems gives me different results. Did

du algorithm to calculate diskspace

2017-10-02 Thread rosjat
hi there, I just noticed, while copying stuf from a very old OpenBSD 4.2 to a OpenBSD 6.1 that du on both systems gives me different results. Did something change in the calculation from 4.2 to 6.1 ? for example 4.2 calculates ~ 136MB 6.1 calculates ~ 148MB I copied the files with scp