Il 16/01/20 02:21, Gordon Messmer ha scritto:
On 1/15/20 8:18 AM, Alessandro Baggi wrote:
Then I sync src/ to dest/ using "rsync -avSĀ src/ dest/", all ok but
when I run "du -h dest/testfile" I get 0 and if I run "du -b
dest/testfile" I get the correct size in bytes.
That's not a bug,
On 1/15/20 8:18 AM, Alessandro Baggi wrote:
Then I sync src/ to dest/ using "rsync -avSĀ src/ dest/", all ok but
when I run "du -h dest/testfile" I get 0 and if I run "du -b
dest/testfile" I get the correct size in bytes.
That's not a bug, that's what sparse files are.
In POSIX systems,
Il 15/01/20 18:54, Jon Pruente ha scritto:
On Wed, Jan 15, 2020 at 11:38 AM Alessandro Baggi <
alessandro.ba...@gmail.com> wrote:
Hi Jon,
I wrote in the first mail the script with the current order of command
that I used. Try to run in a bash script and you will see the result.
If not my
On Wed, Jan 15, 2020 at 11:38 AM Alessandro Baggi <
alessandro.ba...@gmail.com> wrote:
> Hi Jon,
> I wrote in the first mail the script with the current order of command
> that I used. Try to run in a bash script and you will see the result.
>
> If not my sequence is:
>
> dd if=/dev/zero
Il 15/01/20 17:51, Jon Pruente ha scritto:
On Wed, Jan 15, 2020 at 10:18 AM Alessandro Baggi <
alessandro.ba...@gmail.com> wrote:
I made several test to see what happens and noticed that removing -S
(--sparse) from rsync command problem does not occour.
In another test, thinking about a
On Wed, Jan 15, 2020 at 10:18 AM Alessandro Baggi <
alessandro.ba...@gmail.com> wrote:
> I made several test to see what happens and noticed that removing -S
> (--sparse) from rsync command problem does not occour.
> In another test, thinking about a problem on 0ed file, I tried file
> generation
Hi all,
I'm writing a script that uses rsync to sync 2 dirs on C7.
I noticed a strange behaviour.
I have 2 dir: src and dest. In src dir I generate a testfile with "dd
if=/dev/zero of=testfile bs=1M count=100" and when I run "du -h
testfile" I get the correct result.
Then I sync src/ to dest/
7 matches
Mail list logo