[clug] I have a question about mount flag to use cifs.

David.K kang at ghoon.net
Tue Jul 14 01:41:50 MDT 2009


Hi, 

I wanna use std mount API to mount CIFS device.
so, I had use the API on i386 and STLinux below,

mount(dev, mountpoint, MS_MANDLOCK, username, passwd).

It worked well in i386 desktop. but, it did not worked on STLinux settopbox.
shown strerror message is below.

'strerror: Invalid argument'

but, mount in shell -- 'mount -t cifs //xxx.xxx.xxx.xxx./shared /mnt/cifs'
is working well..

How to solve this problem..? help me.

regards.

-- 
View this message in context: http://www.nabble.com/I-have-a-question-about-mount-flag-to-use-cifs.-tp24475049p24475049.html
Sent from the Samba - linux mailing list archive at Nabble.com.



More information about the linux mailing list