I have the following line in my fstab for mounting a samba-share:
//hildi/foo /mnt/hildi/foo smbfs guest,codepage=cp850,iocharset=iso8859-15 0 0
If I add the user option so that I can mount the share as a non-root user, the
charset isn't set anymore ( ? instead of umlauts in filenames ).
I can reproduce this behaviour with smbmount (as a normal user):
smbmount //hildi/foo /mnt/hildi/foo -o guest,codepage=cp850,iocharset=iso8859-15
smbmount //hildi/foo /mnt/hildi/foo -o user,guest,codepage=cp850,
--> NOT OK, but user (or users or noauto) are legal keywords in fstab
smbmount //hildi/foo /mnt/hildi/foo -o blahblah,guest,codepage=cp850,
--> NOT OK, but blahblah isn't a legal keyword and smbmount continues without a
Suggestion for improvement:
- smbmount should filter all legal options from the fstab not needed by smbmnt
- smbmount should warn if there are still some illegal options left
marking this as later until someone is willing to pickup support
for smbmount, et. al.