Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Marriage is the only adventure open to the cowardly. -- Voltaire


computers / alt.os.linux.mageia / Re: rsync and link-dest not working

SubjectAuthor
* rsync and link-dest not workingWilliam Unruh
+* Re: rsync and link-dest not workingAragorn
|`* Re: rsync and link-dest not workingWilliam Unruh
| `* Re: rsync and link-dest not workingDaniel65
|  +* Re: rsync and link-dest not workingAragorn
|  |`- Re: rsync and link-dest not workingDaniel65
|  `* Re: rsync and link-dest not workingWilliam Unruh
|   `- Re: rsync and link-dest not workingDaniel65
+- Re: rsync and link-dest not workingRichard Kettlewell
+* Re: rsync and link-dest not workingCarlos E.R.
|`- Re: rsync and link-dest not workingWilliam Unruh
`* Re: rsync and link-dest not workingDavid W. Hodgins
 `* Re: rsync and link-dest not workingWilliam Unruh
  `* Re: rsync and link-dest not workingDavid W. Hodgins
   `* Re: rsync and link-dest not workingWilliam Unruh
    `* Re: rsync and link-dest not workingWilliam Unruh
     `- Re: rsync and link-dest not workingDavid W. Hodgins

1
rsync and link-dest not working

<tk8q1b$37b2l$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5210&group=alt.os.linux.mageia#5210

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Followup: alt.os.linux.mageia,alt.ow.linux
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: rsync and link-dest not working
Followup-To: alt.os.linux.mageia,alt.ow.linux
Date: Sun, 6 Nov 2022 17:14:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <tk8q1b$37b2l$1@dont-email.me>
Injection-Date: Sun, 6 Nov 2022 17:14:19 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5ab4bf286a0bdaddf1519d0014eb21e9";
logging-data="3386453"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CYi8//CH9G+npVXFOFfeX"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:20GFZLmgprah2vE5euH2QgzD6G4=
 by: William Unruh - Sun, 6 Nov 2022 17:14 UTC

I am trying to copy a backup on a usb hard drive. The usb partition is
ext4 as is the partition I am trying to back up

mount
/dev/nvme0n1p8 on / type ext4 (rw,noatime)
/dev/sda2 on /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)

/dev/sda2 is a usb drive. / is an internal ssh drive.

I run
rsync -avxAHXp --link-dest ./crawler-root-aug12-2022 / ./crawler-root-nov6-2022

while on the backup directory on the usb drive (mounted in
/run/media/unruh)
But for example
crawler:0[root]>ls -l crawler-root-*-2022/dead.letter
-rw------- 2 root root 7210272 Dec 12 2021 crawler-root-aug12-2022/dead.letter
-rw------- 1 root root 7210272 Dec 12 2021 crawler-root-nov6-2022/dead.letter

shows that dead.letter was copied over, not hard linked.

diff on the two says there is no difference between the two files, so
they should have been hard linked not copied.

I have also tried with
rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 / ./crawler-root-nov6-2022
but the same thing happens (no hard link)

(Note that the fact that crawler-root-aug12-2022/dead.letter has a hard
link, that is to a previous backup I made. Even if I erase all of crawler-root-nov6-2022
its hard link status remains at 2)

Can anyone offer me a clue as to what could be going wrong?

Re: rsync and link-dest not working

<20221106183653.370be32c@nx-74205>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5211&group=alt.os.linux.mageia#5211

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: telcon...@duck.com (Aragorn)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Sun, 6 Nov 2022 18:36:53 +0100
Organization: A noiseless patient Strider
Lines: 50
Message-ID: <20221106183653.370be32c@nx-74205>
References: <tk8q1b$37b2l$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: reader01.eternal-september.org; posting-host="d98a16ed9bc77e638566bb64a3ca93c0";
logging-data="3289946"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RDJILKoaHzpwPjOwbChWE"
Cancel-Lock: sha1:UdriEKzS6rwp92yTHNxc5XZ7Isg=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-pc-linux-gnu)
 by: Aragorn - Sun, 6 Nov 2022 17:36 UTC

On 06.11.2022 at 17:14, William Unruh scribbled:

> I am trying to copy a backup on a usb hard drive. The usb partition is
> ext4 as is the partition I am trying to back up
>
> mount
> /dev/nvme0n1p8 on / type ext4 (rw,noatime)
> /dev/sda2 on /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca
> type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
>
> /dev/sda2 is a usb drive. / is an internal ssh drive.
>
> I run
> rsync -avxAHXp --link-dest ./crawler-root-aug12-2022 /
> ./crawler-root-nov6-2022
>
> while on the backup directory on the usb drive (mounted in
> /run/media/unruh)
> But for example
> crawler:0[root]>ls -l crawler-root-*-2022/dead.letter
> -rw------- 2 root root 7210272 Dec 12 2021
> crawler-root-aug12-2022/dead.letter -rw------- 1 root root 7210272
> Dec 12 2021 crawler-root-nov6-2022/dead.letter
>
> shows that dead.letter was copied over, not hard linked.
>
> diff on the two says there is no difference between the two files, so
> they should have been hard linked not copied.
>
> I have also tried with
> rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 /
> ./crawler-root-nov6-2022 but the same thing happens (no hard link)
>
> (Note that the fact that crawler-root-aug12-2022/dead.letter has a
> hard link, that is to a previous backup I made. Even if I erase all
> of crawler-root-nov6-2022 its hard link status remains at 2)
>
> Can anyone offer me a clue as to what could be going wrong?

You forgot the "=". It should have been...

$ rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 / \
./crawler-root-nov6-2022

↑

--
With respect,
= Aragorn

Re: rsync and link-dest not working

<wwvcza0vt92.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5212&group=alt.os.linux.mageia#5212

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!aioe.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: rsync and link-dest not working
Date: Sun, 06 Nov 2022 18:21:29 +0000
Organization: terraraq NNTP server
Message-ID: <wwvcza0vt92.fsf@LkoBDZeT.terraraq.uk>
References: <tk8q1b$37b2l$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: mantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="1243"; mail-complaints-to="usenet@mantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:kmz/rNFuJ6oTA7+rgeWjD4LtgLo=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Sun, 6 Nov 2022 18:21 UTC

William Unruh <unruh@invalid.ca> writes:
> I am trying to copy a backup on a usb hard drive. The usb partition is
> ext4 as is the partition I am trying to back up
>
> mount
> /dev/nvme0n1p8 on / type ext4 (rw,noatime)
> /dev/sda2 on /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca
> type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
>
> /dev/sda2 is a usb drive. / is an internal ssh drive.
>
> I run
> rsync -avxAHXp --link-dest ./crawler-root-aug12-2022 / ./crawler-root-nov6-2022
>
> while on the backup directory on the usb drive (mounted in
> /run/media/unruh)
> But for example
> crawler:0[root]>ls -l crawler-root-*-2022/dead.letter
> -rw------- 2 root root 7210272 Dec 12 2021 crawler-root-aug12-2022/dead.letter
> -rw------- 1 root root 7210272 Dec 12 2021 crawler-root-nov6-2022/dead.letter
>
> shows that dead.letter was copied over, not hard linked.
>
> diff on the two says there is no difference between the two files, so
> they should have been hard linked not copied.
>
> I have also tried with
> rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 / ./crawler-root-nov6-2022
> but the same thing happens (no hard link)
>
> (Note that the fact that crawler-root-aug12-2022/dead.letter has a hard
> link, that is to a previous backup I made. Even if I erase all of
> crawler-root-nov6-2022
> its hard link status remains at 2)
>
> Can anyone offer me a clue as to what could be going wrong?

Perhaps there is some difference not visible in ‘ls -l’. What is the
output of:

stat crawler-root-*-2022/dead.letter /dead.letter
sha256sum crawler-root-*-2022/dead.letter /dead.letter

--
http://www.greenend.org.uk/rjk/

Re: rsync and link-dest not working

<5ibl3j-jre.ln1@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5213&group=alt.os.linux.mageia#5213

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Sun, 6 Nov 2022 19:38:29 +0100
Lines: 19
Message-ID: <5ibl3j-jre.ln1@Telcontar.valinor>
References: <tk8q1b$37b2l$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net IQogztMQrp8kcAO1dJoFYwQgrDeo5PeE0v1JAh7/ON4pCcsK14
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:X17m1LrrtVpFbcQrNQ8aU6GTHnQ=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Content-Language: es-ES, en-CA
In-Reply-To: <tk8q1b$37b2l$1@dont-email.me>
 by: Carlos E.R. - Sun, 6 Nov 2022 18:38 UTC

On 2022-11-06 18:14, William Unruh wrote:
> I am trying to copy a backup on a usb hard drive. The usb partition is
> ext4 as is the partition I am trying to back up
>
> mount
> /dev/nvme0n1p8 on / type ext4 (rw,noatime)
> /dev/sda2 on /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
>
> /dev/sda2 is a usb drive. / is an internal ssh drive.
>
> I run
> rsync -avxAHXp --link-dest ./crawler-root-aug12-2022 / ./crawler-root-nov6-2022

Doesn't the source include the destination?

--
Cheers, Carlos.

Re: rsync and link-dest not working

<op.1u73iloja3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5214&group=alt.os.linux.mageia#5214

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Sun, 06 Nov 2022 12:43:23 -0500
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <op.1u73iloja3w0dxdave@hodgins.homeip.net>
References: <tk8q1b$37b2l$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="7eca0b365259c9fcc62a884dadc91970";
logging-data="3443890"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195i/2jW+QdOw+KDwu2CYnMbNGFei52LAo="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:Xr45b60qOZsezIqz4LPLIefPvdo=
 by: David W. Hodgins - Sun, 6 Nov 2022 17:43 UTC

On Sun, 06 Nov 2022 12:14:19 -0500, William Unruh <unruh@invalid.ca> wrote:

> I am trying to copy a backup on a usb hard drive. The usb partition is
> ext4 as is the partition I am trying to back up
>
> mount
> /dev/nvme0n1p8 on / type ext4 (rw,noatime)
> /dev/sda2 on /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
>
> /dev/sda2 is a usb drive. / is an internal ssh drive.
>
> I run
> rsync -avxAHXp --link-dest ./crawler-root-aug12-2022 / ./crawler-root-nov6-2022
>
> while on the backup directory on the usb drive (mounted in
> /run/media/unruh)
> But for example
> crawler:0[root]>ls -l crawler-root-*-2022/dead.letter
> -rw------- 2 root root 7210272 Dec 12 2021 crawler-root-aug12-2022/dead.letter
> -rw------- 1 root root 7210272 Dec 12 2021 crawler-root-nov6-2022/dead.letter
>
> shows that dead.letter was copied over, not hard linked.
>
> diff on the two says there is no difference between the two files, so
> they should have been hard linked not copied.
>
> I have also tried with
> rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 / ./crawler-root-nov6-2022
> but the same thing happens (no hard link)
>
> (Note that the fact that crawler-root-aug12-2022/dead.letter has a hard
> link, that is to a previous backup I made. Even if I erase all of crawler-root-nov6-2022
> its hard link status remains at 2)
>
> Can anyone offer me a clue as to what could be going wrong?

Please show the output of "ls -il crawler-root-*-2022/dead.letter" to confirm
which inode each is pointing to.

Regards, Dave Hodgins

Re: rsync and link-dest not working

<tk9lh9$3c8er$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5215&group=alt.os.linux.mageia#5215

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Mon, 7 Nov 2022 01:03:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <tk9lh9$3c8er$1@dont-email.me>
References: <tk8q1b$37b2l$1@dont-email.me> <20221106183653.370be32c@nx-74205>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 7 Nov 2022 01:03:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="803da002bae9f18e80263b6131482894";
logging-data="3547611"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MNwR7vlKkIHCT1rFic/70"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:qMsdBavt0wTn7dQgTKhghLzPt+k=
 by: William Unruh - Mon, 7 Nov 2022 01:03 UTC

On 2022-11-06, Aragorn <telcontar@duck.com> wrote:
> On 06.11.2022 at 17:14, William Unruh scribbled:
.....

>>
>> I have also tried with
>> rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 /
>> ./crawler-root-nov6-2022 but the same thing happens (no hard link)
>>
>> (Note that the fact that crawler-root-aug12-2022/dead.letter has a
>> hard link, that is to a previous backup I made. Even if I erase all
>> of crawler-root-nov6-2022 its hard link status remains at 2)
>>
>> Can anyone offer me a clue as to what could be going wrong?
>
> You forgot the "=". It should have been...
>
> $ rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 / \
> ./crawler-root-nov6-2022

As I said, I tried that.
>
> ↑
>

Re: rsync and link-dest not working

<tk9lms$3c8er$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5216&group=alt.os.linux.mageia#5216

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Mon, 7 Nov 2022 01:06:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tk9lms$3c8er$2@dont-email.me>
References: <tk8q1b$37b2l$1@dont-email.me> <5ibl3j-jre.ln1@Telcontar.valinor>
Injection-Date: Mon, 7 Nov 2022 01:06:36 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="803da002bae9f18e80263b6131482894";
logging-data="3547611"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CkjPtsjipHMGxILwZupmJ"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:IzefR2firHz2CSE6Nm1j2qB0MIg=
 by: William Unruh - Mon, 7 Nov 2022 01:06 UTC

On 2022-11-06, Carlos E.R. <robin_listas@es.invalid> wrote:
> On 2022-11-06 18:14, William Unruh wrote:
>> I am trying to copy a backup on a usb hard drive. The usb partition is
>> ext4 as is the partition I am trying to back up
>>
>> mount
>> /dev/nvme0n1p8 on / type ext4 (rw,noatime)
>> /dev/sda2 on /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
>>
>> /dev/sda2 is a usb drive. / is an internal ssh drive.
>>
>> I run
>> rsync -avxAHXp --link-dest ./crawler-root-aug12-2022 / ./crawler-root-nov6-2022
>
> Doesn't the source include the destination?
>
No, the pwd was /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca
which is on the usb drive, not in / (see the -x in rsync)
>

Re: rsync and link-dest not working

<tk9ls2$3c8er$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5217&group=alt.os.linux.mageia#5217

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Mon, 7 Nov 2022 01:09:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <tk9ls2$3c8er$3@dont-email.me>
References: <tk8q1b$37b2l$1@dont-email.me>
<op.1u73iloja3w0dxdave@hodgins.homeip.net>
Injection-Date: Mon, 7 Nov 2022 01:09:22 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="803da002bae9f18e80263b6131482894";
logging-data="3547611"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18R+2lmqsdEVSIzZ97YAiT+"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:gvQHjJwpwhzSZdKX/3QFG5iRwi4=
 by: William Unruh - Mon, 7 Nov 2022 01:09 UTC

On 2022-11-06, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
> On Sun, 06 Nov 2022 12:14:19 -0500, William Unruh <unruh@invalid.ca> wrote:
>
>> (Note that the fact that crawler-root-aug12-2022/dead.letter has a hard
>> link, that is to a previous backup I made. Even if I erase all of crawler-root-nov6-2022
>> its hard link status remains at 2)
>>
>> Can anyone offer me a clue as to what could be going wrong?
>
> Please show the output of "ls -il crawler-root-*-2022/dead.letter" to confirm
> which inode each is pointing to.
>
> Regards, Dave Hodgins

crawler:0[unruh]>ls -il /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-*-2022/dead.letter
52429120 -rw------- 2 root root 7210272 Dec 12 2021 /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-root-aug12-2022/dead.letter
49152355 -rw------- 1 root root 7210272 Dec 12 2021 /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-root-nov6-2022/dead.letter

Re: rsync and link-dest not working

<op.1u81lgmva3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5218&group=alt.os.linux.mageia#5218

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Mon, 07 Nov 2022 00:59:30 -0500
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <op.1u81lgmva3w0dxdave@hodgins.homeip.net>
References: <tk8q1b$37b2l$1@dont-email.me>
<op.1u73iloja3w0dxdave@hodgins.homeip.net> <tk9ls2$3c8er$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="ef8fa71491c8af0c1fda6169cdac9304";
logging-data="3713524"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vA9sPoj7itzE0VtAq1IiPZihbK0pRg6Y="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:qCJvrdWz4n4BtG7M2Fb/LZDjNt8=
 by: David W. Hodgins - Mon, 7 Nov 2022 05:59 UTC

On Sun, 06 Nov 2022 20:09:22 -0500, William Unruh <unruh@invalid.ca> wrote:

> On 2022-11-06, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
>> On Sun, 06 Nov 2022 12:14:19 -0500, William Unruh <unruh@invalid.ca> wrote:
>>
>>> (Note that the fact that crawler-root-aug12-2022/dead.letter has a hard
>>> link, that is to a previous backup I made. Even if I erase all of crawler-root-nov6-2022
>>> its hard link status remains at 2)
>>>
>>> Can anyone offer me a clue as to what could be going wrong?
>>
>> Please show the output of "ls -il crawler-root-*-2022/dead.letter" to confirm
>> which inode each is pointing to.
>>
>> Regards, Dave Hodgins
>
> crawler:0[unruh]>ls -il /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-*-2022/dead.letter
> 52429120 -rw------- 2 root root 7210272 Dec 12 2021 /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-root-aug12-2022/dead.letter
> 49152355 -rw------- 1 root root 7210272 Dec 12 2021 /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-root-nov6-2022/dead.letter

Figured it out ...
[root@x3 /tmp]# ls -li source/* dest*/*
270 -rw-r--r-- 1 dave dave 5 Nov 7 00:41 dest1/datafile
269 -rw-r--r-- 1 dave dave 5 Nov 7 00:41 source/datafile
[root@x3 /tmp]# rsync -avxAHXp --link-dest=/tmp/dest1/ ./source/ /tmp/dest2/
sending incremental file list
../

sent 94 bytes received 19 bytes 226.00 bytes/sec
total size is 5 speedup is 0.04
[root@x3 /tmp]# ls -li source/* dest*/*
270 -rw-r--r-- 2 dave dave 5 Nov 7 00:41 dest1/datafile
270 -rw-r--r-- 2 dave dave 5 Nov 7 00:41 dest2/datafile
269 -rw-r--r-- 1 dave dave 5 Nov 7 00:41 source/datafile

The --link-dest= must be an absolute path, not a relative one. No idea why,
but using ./dest2 instead of /tmp/dest2 in my testing does not work.

Regards, Dave Hodgins

Re: rsync and link-dest not working

<tkagro$3i11b$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5219&group=alt.os.linux.mageia#5219

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: danie...@nomail.afraid.org (Daniel65)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Mon, 7 Nov 2022 19:50:00 +1100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <tkagro$3i11b$1@dont-email.me>
References: <tk8q1b$37b2l$1@dont-email.me> <20221106183653.370be32c@nx-74205>
<tk9lh9$3c8er$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 7 Nov 2022 08:50:01 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="67f49a423b959386bc991823446e589f";
logging-data="3736619"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+a/NrUYRPFsxq2ikMdmMbd8T2hRGNaOGE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
SeaMonkey/2.53.14
Cancel-Lock: sha1:hAGCZmHs4xysgjH13A650tlLIvo=
In-Reply-To: <tk9lh9$3c8er$1@dont-email.me>
 by: Daniel65 - Mon, 7 Nov 2022 08:50 UTC

William Unruh wrote on 7/11/22 12:03 pm:
> On 2022-11-06, Aragorn <telcontar@duck.com> wrote:
>> On 06.11.2022 at 17:14, William Unruh scribbled:
> ....
>
>>>
>>> I have also tried with
>>> rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 /
>>> ./crawler-root-nov6-2022 but the same thing happens (no hard link)
>>>
>>> (Note that the fact that crawler-root-aug12-2022/dead.letter has a
>>> hard link, that is to a previous backup I made. Even if I erase all
>>> of crawler-root-nov6-2022 its hard link status remains at 2)
>>>
>>> Can anyone offer me a clue as to what could be going wrong?
>>
>> You forgot the "=". It should have been...
>>
>> $ rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 / \
>> ./crawler-root-nov6-2022
>
> As I said, I tried that.

William, did you notice that the 'rsync' command you posted ended its
first line with *2022 /* and then continued on the next line whereas
Aragon's command had *2022 / \* and then continued on the next line??

Is Aragon's extra *\* important??
--
Daniel

Re: rsync and link-dest not working

<20221107152456.35037dfa@nx-74205>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5220&group=alt.os.linux.mageia#5220

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: telcon...@duck.com (Aragorn)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Mon, 7 Nov 2022 15:24:56 +0100
Organization: A noiseless patient Strider
Lines: 41
Message-ID: <20221107152456.35037dfa@nx-74205>
References: <tk8q1b$37b2l$1@dont-email.me>
<20221106183653.370be32c@nx-74205>
<tk9lh9$3c8er$1@dont-email.me>
<tkagro$3i11b$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="e8a19537df488c7adca0d2cad195aae2";
logging-data="3788943"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cNx0/tEJ2qeIIU1iXMxam"
Cancel-Lock: sha1:ATzGoCRSZNCoU++MHT7rG+DjBxU=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-pc-linux-gnu)
 by: Aragorn - Mon, 7 Nov 2022 14:24 UTC

On 07.11.2022 at 19:50, Daniel65 scribbled:

> William Unruh wrote on 7/11/22 12:03 pm:
> > On 2022-11-06, Aragorn <telcontar@duck.com> wrote:
> >> On 06.11.2022 at 17:14, William Unruh scribbled:
> > ....
> >
> >>>
> >>> I have also tried with
> >>> rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 /
> >>> ./crawler-root-nov6-2022 but the same thing happens (no hard link)
> >>>
> >>> (Note that the fact that crawler-root-aug12-2022/dead.letter
> >>> has a hard link, that is to a previous backup I made. Even if I
> >>> erase all of crawler-root-nov6-2022 its hard link status remains
> >>> at 2)
> >>>
> >>> Can anyone offer me a clue as to what could be going wrong?
> >>
> >> You forgot the "=". It should have been...
> >>
> >> $ rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 / \
> >> ./crawler-root-nov6-2022
> >
> > As I said, I tried that.
>
> William, did you notice that the 'rsync' command you posted ended its
> first line with *2022 /* and then continued on the next line whereas
> Aragon's command had *2022 / \* and then continued on the next line??
>
> Is Aragon's extra *\* important??

I added the backslash because my newsreader wraps the lines at 72
characters, which broke up Bill's command in two lines. The backslash
therefore escapes the newline character.

--
With respect,
= Aragorn =

Re: rsync and link-dest not working

<tkb4h1$3jo1n$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5221&group=alt.os.linux.mageia#5221

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Mon, 7 Nov 2022 14:25:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <tkb4h1$3jo1n$1@dont-email.me>
References: <tk8q1b$37b2l$1@dont-email.me>
<20221106183653.370be32c@nx-74205> <tk9lh9$3c8er$1@dont-email.me>
<tkagro$3i11b$1@dont-email.me>
Injection-Date: Mon, 7 Nov 2022 14:25:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="803da002bae9f18e80263b6131482894";
logging-data="3792951"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192VPZ7dWk9AvcrFMv/+AoK"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:XfQsjFdH9q4jju0iqyxk/vil10I=
 by: William Unruh - Mon, 7 Nov 2022 14:25 UTC

On 2022-11-07, Daniel65 <daniel47@nomail.afraid.org> wrote:
> William Unruh wrote on 7/11/22 12:03 pm:
>> On 2022-11-06, Aragorn <telcontar@duck.com> wrote:
>>> On 06.11.2022 at 17:14, William Unruh scribbled:
>> ....
>>
>>>>
>>>> I have also tried with
>>>> rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 /
>>>> ./crawler-root-nov6-2022 but the same thing happens (no hard link)
>>>>
>>>> (Note that the fact that crawler-root-aug12-2022/dead.letter has a
>>>> hard link, that is to a previous backup I made. Even if I erase all
>>>> of crawler-root-nov6-2022 its hard link status remains at 2)
>>>>
>>>> Can anyone offer me a clue as to what could be going wrong?
>>>
>>> You forgot the "=". It should have been...
>>>
>>> $ rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 / \
>>> ./crawler-root-nov6-2022
>>
>> As I said, I tried that.
>
> William, did you notice that the 'rsync' command you posted ended its
> first line with *2022 /* and then continued on the next line whereas
> Aragon's command had *2022 / \* and then continued on the next line??
>
> Is Aragon's extra *\* important??

My linebreak cam about because the posting software put in a linebreak
into a long line. What was actually run had no line break.

Re: rsync and link-dest not working

<tkb4oq$3jo1n$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5222&group=alt.os.linux.mageia#5222

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Mon, 7 Nov 2022 14:29:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <tkb4oq$3jo1n$2@dont-email.me>
References: <tk8q1b$37b2l$1@dont-email.me>
<op.1u73iloja3w0dxdave@hodgins.homeip.net> <tk9ls2$3c8er$3@dont-email.me>
<op.1u81lgmva3w0dxdave@hodgins.homeip.net>
Injection-Date: Mon, 7 Nov 2022 14:29:46 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="803da002bae9f18e80263b6131482894";
logging-data="3792951"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19B6UQjiWD/VmZwDK7w64lB"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:mKKXrCV9v7di43qFuDwCQlMv1js=
 by: William Unruh - Mon, 7 Nov 2022 14:29 UTC

On 2022-11-07, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
> On Sun, 06 Nov 2022 20:09:22 -0500, William Unruh <unruh@invalid.ca> wrote:
>
>> On 2022-11-06, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
>>> On Sun, 06 Nov 2022 12:14:19 -0500, William Unruh <unruh@invalid.ca> wrote:
>>>
>>>> (Note that the fact that crawler-root-aug12-2022/dead.letter has a hard
>>>> link, that is to a previous backup I made. Even if I erase all of crawler-root-nov6-2022
>>>> its hard link status remains at 2)
>>>>
>>>> Can anyone offer me a clue as to what could be going wrong?
>>>
>>> Please show the output of "ls -il crawler-root-*-2022/dead.letter" to confirm
>>> which inode each is pointing to.
>>>
>>> Regards, Dave Hodgins
>>
>> crawler:0[unruh]>ls -il /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-*-2022/dead.letter
>> 52429120 -rw------- 2 root root 7210272 Dec 12 2021 /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-root-aug12-2022/dead.letter
>> 49152355 -rw------- 1 root root 7210272 Dec 12 2021 /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-root-nov6-2022/dead.letter
>
> Figured it out ...
> [root@x3 /tmp]# ls -li source/* dest*/*
> 270 -rw-r--r-- 1 dave dave 5 Nov 7 00:41 dest1/datafile
> 269 -rw-r--r-- 1 dave dave 5 Nov 7 00:41 source/datafile
> [root@x3 /tmp]# rsync -avxAHXp --link-dest=/tmp/dest1/ ./source/ /tmp/dest2/
> sending incremental file list
> ./
>
> sent 94 bytes received 19 bytes 226.00 bytes/sec
> total size is 5 speedup is 0.04
> [root@x3 /tmp]# ls -li source/* dest*/*
> 270 -rw-r--r-- 2 dave dave 5 Nov 7 00:41 dest1/datafile
> 270 -rw-r--r-- 2 dave dave 5 Nov 7 00:41 dest2/datafile
> 269 -rw-r--r-- 1 dave dave 5 Nov 7 00:41 source/datafile
>
> The --link-dest= must be an absolute path, not a relative one. No idea why,
> but using ./dest2 instead of /tmp/dest2 in my testing does not work.

OK, I will try that. Weird. It needs to be documented in the man page.

Thanks for tracking this down.
>
> Regards, Dave Hodgins

Re: rsync and link-dest not working

<tkb68q$3jrmq$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5223&group=alt.os.linux.mageia#5223

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Mon, 7 Nov 2022 14:55:23 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <tkb68q$3jrmq$1@dont-email.me>
References: <tk8q1b$37b2l$1@dont-email.me>
<op.1u73iloja3w0dxdave@hodgins.homeip.net> <tk9ls2$3c8er$3@dont-email.me>
<op.1u81lgmva3w0dxdave@hodgins.homeip.net> <tkb4oq$3jo1n$2@dont-email.me>
Injection-Date: Mon, 7 Nov 2022 14:55:23 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="803da002bae9f18e80263b6131482894";
logging-data="3796698"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18D3KmWtCQoCuH0ehPpi4QN"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:xaRaZFS4t9IZ3OcpU2Sn2NWG1kw=
 by: William Unruh - Mon, 7 Nov 2022 14:55 UTC

On 2022-11-07, William Unruh <unruh@invalid.ca> wrote:
> On 2022-11-07, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
>> On Sun, 06 Nov 2022 20:09:22 -0500, William Unruh <unruh@invalid.ca> wrote:
>>
>>> On 2022-11-06, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
>>>> On Sun, 06 Nov 2022 12:14:19 -0500, William Unruh <unruh@invalid.ca> wrote:
>>>>
>>>>> (Note that the fact that crawler-root-aug12-2022/dead.letter has a hard
>>>>> link, that is to a previous backup I made. Even if I erase all of crawler-root-nov6-2022
>>>>> its hard link status remains at 2)
>>>>>
>>>>> Can anyone offer me a clue as to what could be going wrong?
>>>>
>>>> Please show the output of "ls -il crawler-root-*-2022/dead.letter" to confirm
>>>> which inode each is pointing to.
>>>>
>>>> Regards, Dave Hodgins
>>>
>>> crawler:0[unruh]>ls -il /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-*-2022/dead.letter
>>> 52429120 -rw------- 2 root root 7210272 Dec 12 2021 /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-root-aug12-2022/dead.letter
>>> 49152355 -rw------- 1 root root 7210272 Dec 12 2021 /run/media/unruh/ab7c8370-e9d4-495f-a9fa-a18e803dd9ca/crawler-root-nov6-2022/dead.letter
>>
>> Figured it out ...
>> [root@x3 /tmp]# ls -li source/* dest*/*
>> 270 -rw-r--r-- 1 dave dave 5 Nov 7 00:41 dest1/datafile
>> 269 -rw-r--r-- 1 dave dave 5 Nov 7 00:41 source/datafile
>> [root@x3 /tmp]# rsync -avxAHXp --link-dest=/tmp/dest1/ ./source/ /tmp/dest2/
>> sending incremental file list
>> ./
>>
>> sent 94 bytes received 19 bytes 226.00 bytes/sec
>> total size is 5 speedup is 0.04
>> [root@x3 /tmp]# ls -li source/* dest*/*
>> 270 -rw-r--r-- 2 dave dave 5 Nov 7 00:41 dest1/datafile
>> 270 -rw-r--r-- 2 dave dave 5 Nov 7 00:41 dest2/datafile
>> 269 -rw-r--r-- 1 dave dave 5 Nov 7 00:41 source/datafile
>>
>> The --link-dest= must be an absolute path, not a relative one. No idea why,
>> but using ./dest2 instead of /tmp/dest2 in my testing does not work.

I assume ./dest1 or /tmp/dest1 for the --link-dest
>
> OK, I will try that. Weird. It needs to be documented in the man page.
>
> Thanks for tracking this down.

Oops. It seems it is documented. From the man page:

If DIR is a relative path, it is relative to the destination directory. See also --compare-dest
and --copy-dest.

I guess it should have been ../dest1 or as you say, /tmp/dest1

Re: rsync and link-dest not working

<op.1u9w3zo7a3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5224&group=alt.os.linux.mageia#5224

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Mon, 07 Nov 2022 12:20:13 -0500
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <op.1u9w3zo7a3w0dxdave@hodgins.homeip.net>
References: <tk8q1b$37b2l$1@dont-email.me>
<op.1u73iloja3w0dxdave@hodgins.homeip.net> <tk9ls2$3c8er$3@dont-email.me>
<op.1u81lgmva3w0dxdave@hodgins.homeip.net> <tkb4oq$3jo1n$2@dont-email.me>
<tkb68q$3jrmq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="ef8fa71491c8af0c1fda6169cdac9304";
logging-data="3827381"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19nAbPUrPmZsmtx7vd+/HVldCoklXP5EiU="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:UKjXAKjWANFS8r3oLXFJ9HC6uxM=
 by: David W. Hodgins - Mon, 7 Nov 2022 17:20 UTC

On Mon, 07 Nov 2022 09:55:23 -0500, William Unruh <unruh@invalid.ca> wrote:
> I guess it should have been ../dest1 or as you say, /tmp/dest1

Or perhaps slightly easier to read ...
rsync -avxAHXp --link-dest="$PWD"/dest1/ ./source/ ./dest2/

Regards, Dave Hodgins

Re: rsync and link-dest not working

<tkd8f0$3sj6g$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5225&group=alt.os.linux.mageia#5225

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: danie...@nomail.afraid.org (Daniel65)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Tue, 8 Nov 2022 20:45:03 +1100
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <tkd8f0$3sj6g$1@dont-email.me>
References: <tk8q1b$37b2l$1@dont-email.me> <20221106183653.370be32c@nx-74205>
<tk9lh9$3c8er$1@dont-email.me> <tkagro$3i11b$1@dont-email.me>
<20221107152456.35037dfa@nx-74205>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 8 Nov 2022 09:45:05 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d678244a090ac2d2b840491bd5b8dc0d";
logging-data="4082896"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qH0Z7UGkYpBVcxbzFfcXxp6nJEs+gYuY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
SeaMonkey/2.53.14
Cancel-Lock: sha1:MhFU+T56noybVZfgjefu1eVyujo=
In-Reply-To: <20221107152456.35037dfa@nx-74205>
 by: Daniel65 - Tue, 8 Nov 2022 09:45 UTC

Aragorn wrote on 8/11/22 1:24 am:
> On 07.11.2022 at 19:50, Daniel65 scribbled:
>
>> William Unruh wrote on 7/11/22 12:03 pm:
>>> On 2022-11-06, Aragorn <telcontar@duck.com> wrote:
>>>> On 06.11.2022 at 17:14, William Unruh scribbled:
>>> ....
>>>
>>>>>
>>>>> I have also tried with
>>>>> rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 /
>>>>> ./crawler-root-nov6-2022 but the same thing happens (no hard link)
>>>>>
>>>>> (Note that the fact that crawler-root-aug12-2022/dead.letter
>>>>> has a hard link, that is to a previous backup I made. Even if I
>>>>> erase all of crawler-root-nov6-2022 its hard link status remains
>>>>> at 2)
>>>>>
>>>>> Can anyone offer me a clue as to what could be going wrong?
>>>>
>>>> You forgot the "=". It should have been...
>>>>
>>>> $ rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 / \
>>>> ./crawler-root-nov6-2022
>>>
>>> As I said, I tried that.
>>
>> William, did you notice that the 'rsync' command you posted ended its
>> first line with *2022 /* and then continued on the next line whereas
>> Aragon's command had *2022 / \* and then continued on the next line??
>>
>> Is Aragon's extra *\* important??
>
> I added the backslash because my newsreader wraps the lines at 72
> characters, which broke up Bill's command in two lines. The backslash
> therefore escapes the newline character.

Somewhere, waaay back in my mind, I had thought about that "continues on
next line" situation ..... but, maybe, I was expecting William to be
aware of that, too. Maybe he was composing in a very wide window so it
just slipped his mind!
--
Daniel

Re: rsync and link-dest not working

<tkd8g1$3sj6g$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5226&group=alt.os.linux.mageia#5226

  copy link   Newsgroups: alt.os.linux.mageia alt.ow.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: danie...@nomail.afraid.org (Daniel65)
Newsgroups: alt.os.linux.mageia,alt.ow.linux
Subject: Re: rsync and link-dest not working
Date: Tue, 8 Nov 2022 20:45:40 +1100
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <tkd8g1$3sj6g$2@dont-email.me>
References: <tk8q1b$37b2l$1@dont-email.me> <20221106183653.370be32c@nx-74205>
<tk9lh9$3c8er$1@dont-email.me> <tkagro$3i11b$1@dont-email.me>
<tkb4h1$3jo1n$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 8 Nov 2022 09:45:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d678244a090ac2d2b840491bd5b8dc0d";
logging-data="4082896"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+M0dry4nOyftYZvTIGLw3Bm6dtAHAa0pI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
SeaMonkey/2.53.14
Cancel-Lock: sha1:c5xrzEDNNimlEWmk3uSguDFZH8Y=
In-Reply-To: <tkb4h1$3jo1n$1@dont-email.me>
 by: Daniel65 - Tue, 8 Nov 2022 09:45 UTC

William Unruh wrote on 8/11/22 1:25 am:
> On 2022-11-07, Daniel65 <daniel47@nomail.afraid.org> wrote:
>> William Unruh wrote on 7/11/22 12:03 pm:
>>> On 2022-11-06, Aragorn <telcontar@duck.com> wrote:
>>>> On 06.11.2022 at 17:14, William Unruh scribbled:
>>> ....
>>>
>>>>>
>>>>> I have also tried with
>>>>> rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 /
>>>>> ./crawler-root-nov6-2022 but the same thing happens (no hard link)
>>>>>
>>>>> (Note that the fact that crawler-root-aug12-2022/dead.letter has a
>>>>> hard link, that is to a previous backup I made. Even if I erase all
>>>>> of crawler-root-nov6-2022 its hard link status remains at 2)
>>>>>
>>>>> Can anyone offer me a clue as to what could be going wrong?
>>>>
>>>> You forgot the "=". It should have been...
>>>>
>>>> $ rsync -avxAHXp --link-dest=./crawler-root-aug12-2022 / \
>>>> ./crawler-root-nov6-2022
>>>
>>> As I said, I tried that.
>>
>> William, did you notice that the 'rsync' command you posted ended its
>> first line with *2022 /* and then continued on the next line whereas
>> Aragon's command had *2022 / \* and then continued on the next line??
>>
>> Is Aragon's extra *\* important??
>
> My linebreak cam about because the posting software put in a linebreak
> into a long line. What was actually run had no line break.
>
;-)
--
Daniel

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor