dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
7182
vue666 (banned)
Let's make Canchat better!!!
join:2007-12-07

vue666 (banned)

Member

Mounting samba shares.... cifs or smbfs????

When mounting a samba share which is better to use cifs or smbfs

ie:

mount -t smbfs -o username=you,password=secret //192.168.1.100/shareddrive /mnt/smb

OR

mount -t cifs -o username=you,password=secret //192.168.1.100/shareddrive /mnt/smb

I've been using cifs

GILXA1226
MVM
join:2000-12-29
Dayton, OH

GILXA1226

MVM

said by vue666:

When mounting a samba share which is better to use cifs or smbfs

ie:

mount -t smbfs -o username=you,password=secret //192.168.1.100/shareddrive /mnt/smb

OR

mount -t cifs -o username=you,password=secret //192.168.1.100/shareddrive /mnt/smb

I've been using cifs
cifs is the new prefered method... IIRC smbfs is being phased out completely. I think it currently only exists for backwards compatibility.

greEd3
join:2001-05-28
Odenton, MD

greEd3 to vue666

Member

to vue666
All of my scripts are mount -t cifs, I'm not sure if it's better or not. But it's what I currently use.
dave
Premium Member
join:2000-05-04
not in ohio

dave to vue666

Premium Member

to vue666
Even its mother doesn't love smbfs any more.

»samba.org/samba/smbfs/

Bill_MI
Bill In Michigan
MVM
join:2001-01-03
Royal Oak, MI

Bill_MI to vue666

MVM

to vue666
Recently researched this and came away with the impression cifs is a super-set of smbfs. That cifs has some specific additional features but never could find out what such additions consisted of.
dave
Premium Member
join:2000-05-04
not in ohio

dave

Premium Member


The protocol (variously known as smb or cifs) has been growing warts since 1980. smbfs speaks a really weird mix of old and new forms; it uses messages that no post-1993 Windows implementation would use. cifsvfs speaks the protocol with a much more modern accent.
gentux
join:2004-09-05
Natick, MA

gentux to vue666

Member

to vue666
The biggest difference I have seen between smbfs and cifs is that smbfs does not seem to support 4+GB files (i.e. dvd images) very well. It either does not see the large file or the transfer will die when it hits the 4GB mark.
dave
Premium Member
join:2000-05-04
not in ohio

dave

Premium Member

Right. There are protocol-y reasons for that, but it's a good observation.