LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba, fstab and character set (https://www.linuxquestions.org/questions/linux-networking-3/samba-fstab-and-character-set-392303/)

kulmis 12-13-2005 07:17 AM

samba, fstab and character set
 
How can I specify character sets in fstab for smbfs mounts?



For example, when I mount my samba share manually, I do:
smbmount //server/share /mountpoint -o username=user,iocharset=8859-1,codepage=cp850

This works fine, and every character is displayed correctly (in my case, a and o umlauts are the special characters).

But if I want to add an entry to fstab, how do I specify the character set? What I have now is
//server/share /mountpoint smbfs auto,user,username=user,iocharset=8859-1,codepage=cp850
But this doesn't work. The username-parameter is relayed to smbmnt, but not the other parameters.

Any suggestions?


All times are GMT -5. The time now is 12:03 PM.