Chinaunix

标题: mount() function problem [打印本页]

作者: hozentex    时间: 2003-09-29 17:01
标题: mount() function problem
Hello everybody

pls help me to solve the problem

I wnat to mount one Hard Drive and it need to support Korean language

so I add the argument ,"iocharset=EUC-KR,codepage=cp949"

I write the mount program as below but the return code is -1

so mount HD fail ! @@

retval = mount ("/dev/ide/hda1","/cdrom","vfat",                       MS_RDONLY | MS_NOSUID | MS_NODEV,
"iocharset=EUC-KR,codepage=cp949");

I don't know where is the problem ?

Can somebody tell me why?
作者: 蓝色键盘    时间: 2003-09-30 10:52
标题: mount() function problem
man  mount




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2