LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   "fc5" mount does not recognize "smbfs" file system? (https://www.linuxquestions.org/questions/linux-networking-3/fc5-mount-does-not-recognize-smbfs-file-system-431152/)

bdplays 04-02-2006 09:30 PM

"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?

Lenard 04-02-2006 09:48 PM

The smbfs is no longer used, try using cifs instead.

bdplays 04-03-2006 04:55 PM

That worked. Thank you.

crazydrve 04-23-2006 09:50 PM

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

Ajax4Hire 05-01-2006 03:58 PM

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

spooon 05-01-2006 07:37 PM

That's not true. I used cifs on FC4.

WhiskeyTangoFoxtrot 06-28-2006 11:21 AM

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
Password:
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

the address for the server ( //server-name/... ) i got from nautilus when i accessed the share so i know the location is right and the i.p add too. any ideas ?


All times are GMT -5. The time now is 01:48 PM.