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

Thomas Lamprecht t.lamprecht at proxmox.com
Sat Nov 25 17:20:57 CET 2023


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?!






More information about the pbs-devel mailing list