From 8d6fb677c1dffd885fb1b0590dab3581d20c5225 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 5 May 2021 10:46:19 +0200 Subject: [PATCH] proxmox_restore_daemon: mount ntfs with 'utf8' option 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 --- 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 }; }