"fc5" mount does not recognize "smbfs" file system?
In the past I have been successful at using mount to add my windows shares to my Linux directory structure with the following systax:
mount -t smbfs -o username=myusername,password=mypassword,ip=192.168.2.100,rw //windowsbox/share /linuxmount As of FC5 I am getting the following error from the bash shell: "mount: unknown filesystem type 'smbfs'" Can anyone tell me what I am missing? |
The smbfs is no longer used, try using cifs instead.
|
That worked. Thank you.
|
security issue
hey thanks for someone helping with this. this has been bugging me all week.
but my question is what kind of security risks are there? i noticed the permissions just say "drwxrwxrwx" for all. is there anyway to change it or what the best way to mount a windows ntfs drive from another computer. any help is appreciated. thank you |
Ok, smbfs going out, cifs to replace but..
Thanks for the good info, smbfs -> cifs
That also fixed my new FC5 machine but.. I have script files built up to mount -t smbfs ---and now I must change to mount -t cifs ----but only on FC-5/2.6.15 and greater. These scripts are common across several FC-n,RH9,etc. I can manipulate the BASH script to hinge on FC5 but should the real check be for greater than 2.6.15? Something like MOUNTWITH=smbfs [ -z "`uname -r | grep \"^2.6.15\"`" ] && MOUNTWITH=cifs mount -t ${MOUNTWITH} yada yada yada I know the grep need to be more robust, I will harden later. But with this basic scheme work or am I missing something? Linux@Ajax4Hire.com |
That's not true. I used cifs on FC4.
|
doesnt work for me for some reason
Code:
# mount -t cifs -o username=usrname,ip=192.168.0.5,rw //server-name/Music /local-dir |
All times are GMT -5. The time now is 06:26 PM. |