Feature Request for SMB
Currently, the SAMBA configuration file created by qemu looks like:
[global]
pid directory=smb_dir
lock directory=smb_dir
log file=smb_dir/log.smbd
smb passwd file=smb_dir/smbpasswd
security = share
[qemu]
path=exported_dir
read only=no
guest ok=yes
But international (e.g. Russian) users need two more lines in the [global] section in order for filenames with national characters to be displayed properly.
For SAMBA 3.0.x, the parameters are "dos charset" and "unix charset" For (obsolete) SAMBA 2.2.x, they are "client code page" and "character set".
Example for SAMBA 3.0.x:
[global]
dos charset=cp866
unix crarset=koi8-r
pid directory=smb_dir
lock directory=smb_dir
log file=smb_dir/log.smbd
smb passwd file=smb_dir/smbpasswd
security = share
[qemu]
path=exported_dir
read only=no
guest ok=yes
Could you please add the possibility to specify these charsets as qemu command line parameters?
Signature · 1 line
Alexander E. Patrakov