[pbs-devel] applied: [PATCH proxmox-backup] proxmox_restore_daemon: mount ntfs with 'utf8' option

Dietmar Maurer dietmar at proxmox.com
Wed May 5 11:09:11 CEST 2021


applied

On 5/5/21 10:46 AM, Dominik Csapak wrote:
> otherwise, the kernel driver exposes file names as iso 8859-1,
> but we want to have them as utf8.
>
> This mapping should always work, since UTF16 can be cleanly converted
> to UTF8.
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>   src/bin/proxmox_restore_daemon/disk.rs | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/bin/proxmox_restore_daemon/disk.rs b/src/bin/proxmox_restore_daemon/disk.rs
> index 47c718f8..b58a84ff 100644
> --- a/src/bin/proxmox_restore_daemon/disk.rs
> +++ b/src/bin/proxmox_restore_daemon/disk.rs
> @@ -31,6 +31,8 @@ lazy_static! {
>           // whatever the user is trying to restore is not using anything older...
>           m.insert("ufs", "ufstype=ufs2");
>   
> +        m.insert("ntfs", "utf8");
> +
>           m
>       };
>   }





More information about the pbs-devel mailing list