Bug 1005 - mount ignores /etc/fstab
Summary: mount ignores /etc/fstab
Status: RESOLVED LATER
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbmount (unmaintained) (show other bugs)
Version: 3.0.1
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-25 16:37 UTC by sigsegv
Modified: 2004-07-21 12:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sigsegv 2004-01-25 16:37:58 UTC
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
--> OK

smbmount //hildi/foo /mnt/hildi/foo -o user,guest,codepage=cp850,
iocharset=iso8859-15
--> NOT OK, but user (or users or noauto) are legal keywords in fstab

smbmount //hildi/foo /mnt/hildi/foo -o blahblah,guest,codepage=cp850,
iocharset=iso8859-15
--> NOT OK, but blahblah isn't a legal keyword and smbmount continues without a 
warning

Suggestion for improvement:
- smbmount should filter all legal options from the fstab not needed by smbmnt 
(like user,users,noauto)
- smbmount should warn if there are still some illegal options left
Comment 1 Gerald (Jerry) Carter (dead mail address) 2004-07-21 12:54:21 UTC
marking this as later until someone is willing to pickup support 
for smbmount, et. al.