[pbs-devel] [PATCH offline-mirror] mirror: Use PathBuf instead of strings for paths

Maximiliano Sandoval m.sandoval at proxmox.com
Mon Nov 27 09:37:20 CET 2023


Yes, it ends up being mostly cosmetic.

Thomas Lamprecht <t.lamprecht at proxmox.com> writes:

> Am 21/11/2023 um 14:50 schrieb Maximiliano Sandoval R:
>> Joining the strings might results in a double `//` in a path. This was
>> experienced in a ticket at our customer support in the following error:
>>
>>     Error: unable to read
>>     "/var/lib/proxmox-offline-mirror/mirrors//.pool/sha256/<SOME_HASH>"
>>     - Input/output error (os error 5) after downloading ±60GB of data.
>
>
> I mean, that's an example where one can view this slightly cosmetic issue,
> not really the cause for the actual error, like your message tends to
> suggest, I hope?!


--
Maximiliano





More information about the pbs-devel mailing list