[pbs-devel] [PATCH proxmox-backup 1/3] fix #5465: restore daemon: mount ntfs with utf8 charset

Dominik Csapak d.csapak at proxmox.com
Wed May 15 11:55:11 CEST 2024


since the change in our restore image to ntfs3, non iso8859-1 filenames
were broken. Fix that by adding the 'iocharset' option to ntfs3.

Leave the ntfs option in place, so that if the image gets booted
with an older kernel for some reason, this still works.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 proxmox-restore-daemon/src/proxmox_restore_daemon/disk.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxmox-restore-daemon/src/proxmox_restore_daemon/disk.rs b/proxmox-restore-daemon/src/proxmox_restore_daemon/disk.rs
index bde459dd6..db96ced0b 100644
--- a/proxmox-restore-daemon/src/proxmox_restore_daemon/disk.rs
+++ b/proxmox-restore-daemon/src/proxmox_restore_daemon/disk.rs
@@ -37,6 +37,7 @@ lazy_static! {
         m.insert("ufs", "ufstype=ufs2");
 
         m.insert("ntfs", "utf8");
+        m.insert("ntfs3", "iocharset=utf8");
 
         m
     };
-- 
2.39.2





More information about the pbs-devel mailing list