Re: SMBFS package vs kernel modules?



Mark Fletcher wrote:
DUH -- question is about smbfs package not
smbclient...

Hi list

I have a question about the smbclient package. What
does it provide that isn't provided by SMB FS support
in the kernel?

I currently run a 2.6.15.4 kernel and am about to
build myself a 2.6.17.7 kernel from kernel.org (using
make-kpkg). I plan shortly to buy myself some NAS and
use it with both Debian and WinXP. I'm assuming at
this point that I'll be buying a NAS solution that
uses SMB.

Everything else other than the kernel on my system is
from the sarge distribution. I may go to testing in
the near future but haven't decided to.

My question is this: given that the recent kernels
have SMB FS support available in them, what is the
purpose of the Debian smbfs package? Is this a
question of distro-clash ie is this something that
used to be needed but isn't needed on the most
up-to-the-minute kernels? Or is smbfs providing
something that the kernel doesn't?

Thanks

Mark

Running unstable (Sid) here.

I was using smbfs (a separate package from samba in Debian but same version number as the samba package and depends on samba-common) until recently.

Advantages of [u]mount.smbfs:

Once smbd / nmbd had started, one could mount shares from other machines that did not have fixed IP addresses.

Disadvantages of [u]mount.smbfs:

Support and documentation for Unicode is a bit fiddly, mounts are not available until smbd / nmbd have started, so entries in /etc/fstab will fail on bootup, then succeed with another mount entered manually.

Now I am running cifs ([u]mount.cifs is part of the smbfs package).

Advantages of [u]mount.cifs:

Mounts are available at the same time as NFS mounts and can happen automatically at boot-up and doesn't require smbd / nmbd (although I believe that smb.conf may be used?).

Unicode support is good, and cifs is still being actively developed.

Disadvantages of [u]mount.cifs:

It requires a kernel with cifs support.

The UNC name has to resolve to an IP address when the mount.cifs call is made. This shouldn't be a problem as servers should have a fixed IP address but it is a problem when mounting shares from Windows machines which have dynamic IP addresses assigned by DHCP. I had to assign a fixed IP address for a WindowsXP machine in the DHCP configuration of the ADSL router here to mount the shares from that WindowsXP machine.

See http://www.samba.org for more details

smbfs is required for mounting shares on OS/2 servers.

Hope this helps.

Arthur.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: 2.7 thoughts
    ... * bind mount support for all general mount options ... ENBD support in official kernel with enterprise-class 'through the ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • RE: 2.7 thoughts
    ... * bind mount support for all general mount options ... * more and more tunable kernel parameters to be able to have some user ... many unwanted features for a simple system, though for most times it is ...
    (Linux-Kernel)
  • Re: cCannot mount floopy Suse 9 Prof
    ... > Could not mount device. ... kernel doesn't know how support a FAT filesystem. ... Isn't the ability to support FAT something that can be selected during ...
    (alt.os.linux.suse)
  • Re: Issues with newly-installed Fedora Core 1
    ... been using linux with fat32 support for as long as I can remember. ... that can mount the fat partition ... No compiling kernel man... ...
    (alt.os.linux.redhat)
  • Re: Is my flashcard reader supported?
    ... What happens if you try to mount it? ... no info in dmesg about that device, I've only got the information shown by ... package providing support for it... ...
    (Debian-User)