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 <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-05-05 10:46:19 +02:00 committed by Dietmar Maurer
parent a2daecc25d
commit 8d6fb677c1
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ lazy_static! {
// whatever the user is trying to restore is not using anything older... // whatever the user is trying to restore is not using anything older...
m.insert("ufs", "ufstype=ufs2"); m.insert("ufs", "ufstype=ufs2");
m.insert("ntfs", "utf8");
m m
}; };
} }