Re: Deleting files on temporary network dropouts
Mo B <[email protected]> Fri, 9 Jan 2026 05:44:02 -0800 (PST)
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1096410_1442581346.1767966242536 Content-Type: multipart/alternative; boundary="----=_Part_1096411_695252859.1767966242536" ------=_Part_1096411_695252859.1767966242536 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I know using a davfs2 mount to a foreign server is the worst option, I=20 usually prefer local files, local servers or at least my own maintained=20 remote server where I could ssh into or run unison remotely... But for now I also have a WebDAV account, maintained by others... On Friday, January 9, 2026 at 2:12:02=E2=80=AFPM UTC+1 Greg Troxel wrote: But if you think that davfs2 can return status that says a file is not=20 there when that's not true, then it's buggy, and you should fix it or=20 stop using it. I'm not really sure what you think is going on, if the=20 operation to list a directory will return a partial result (with an=20 success code), or something else?=20 =20 I don't have detailed knowledge about filesystem APIs. But shouldn't a directory list be true or failing or at least if partial I= =20 also have seen ????? on IO errors. But not a partial list that looks=20 complete just with less files than existing on the server. I'm not sure how to debug that. Doing a manual ls on the missing file on=20 the davfs2 mount I can see the file, but that is seconds later after the=20 uplink was weak. I guess the issue is on davfs2 side and I would like to report the issue=20 there, but can't reproduce outside of unison. What does unison do to create the proposed plan before I run the (g)o? Does= =20 it do ls on each directory? Does it run stat on each known file? Then I could start debugging that, running a stat in a loop while having a= =20 weak connection, or while switching wireless networks or VPNs. I tried that, ran ls and stat on a remote file in a loop while switching=20 networks. The output was blocking, then resuming after a while but I've=20 never seen a ls: cannot access like it is returned for non-existing files. Best regards, Mo To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. ------=_Part_1096411_695252859.1767966242536 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div><div dir=3D"auto">=C2=A0I know using a davfs2 mount to a foreign serve= r is the worst option, I usually prefer local files, local servers or at le= ast my own maintained remote server where I could ssh into or run unison re= motely...</div><div dir=3D"auto">But for now I also have a WebDAV account, = maintained by others...</div><div dir=3D"auto"><br /></div><div dir=3D"auto= ">On Friday, January 9, 2026 at 2:12:02=E2=80=AFPM UTC+1 Greg Troxel wrote:= <br /></div><blockquote style=3D"margin: 0px 0px 0px 0.8ex; border-left: 1p= x solid rgb(204, 204, 204); padding-left: 1ex;">But if you think that davfs= 2 can return status that says a file is not <br />there when that's not true, then it's buggy, and you should fix it or <br />stop using it. I'm not really sure what you think is going on, if t= he <br />operation to list a directory will return a partial result (with an <br />success code), or something else? </blockquote><div>=C2=A0</div><div>=C2=A0I don't have detailed knowledge ab= out filesystem APIs.</div><div>But shouldn't a directory list be true or fa= iling or at least if partial I also have seen ????? on IO errors. But not a= partial list that looks complete just with less files than existing on the= server.</div><div>I'm not sure how to debug that. Doing a manual ls on the= missing file on the davfs2 mount I can see the file, but that is seconds l= ater after the uplink was weak.</div><div>I guess the issue is on davfs2 si= de and I would like to report the issue there, but can't reproduce outside = of unison.</div><div><br /></div><div>What does unison do to create the pro= posed plan before I run the (g)o? Does it do ls on each directory? Does it = run stat on each known file?</div><div>Then I could start debugging that, r= unning a stat in a loop while having a weak connection, or while switching = wireless networks or VPNs.</div><div><br /></div><div>I tried that, ran ls = and stat on a remote file in a loop while switching networks. The output wa= s blocking, then resuming after a while but I've never seen a</div><div>ls:= cannot access</div><div>like it is returned for non-existing files.</div><= div><br /></div><div>Best regards,</div><div>Mo</div></div> <p></p> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">unison-u= [email protected]</a>.<br /> ------=_Part_1096411_695252859.1767966242536-- ------=_Part_1096410_1442581346.1767966242536--