SMBFS in 2.2.x
psherwin at telinco.co.uk
Mon Apr 19 16:04:43 GMT 1999
At 07:11 19/04/99 +1000, you wrote:
>Date: Sun, 18 Apr 1999 15:46:55 +1000
>From: "Dean \"ZoRt!\" Hamstead" <zort at penrithcity.nsw.gov.au>
>To: samba at samba.org
>Subject: SMBFS in 2.2.x
>Im wondering if anyone is getting the same problem with smbfs as i am
>with the 2.2.x kernels
>when i try to smbmount a share i get the following on the screen
>"SMBFS: need mount version 6"
>and also on the telnet shell or actual shell
>"mount error: Invalid argument
>Please look at smbmount's manual page...."
>the mans have nothing
>i revert back to 2.0.x and it werks fine
Yes, this is a complete pain in the bum and had me fooled for a time. smbfs
has been completely redesigned in 2.2 kernels to work with a new version of
smbmount. The idea is to reduce dependence on kernel code so all those rich
people with AIX, Solaris etc. can use smbmount as well. For some obscure
reason the command syntax has changed. A mount is now something like
smbmount //server/sharename -c "mount /mnt/smbdir"
You need to use the version of smbmount that comes with Samba 2.0. Of
course, this won't work with V2.0 kernels... There are a few shell scripts
floating around which attempt to do parameter translation depending on
kernel version, but none of the ones I've tried actually work.
Best regards, Paul
Paul Sherwin Consulting 22 Monmouth Road, Oxford OX1 4TD, UK
Phone +44 (0)1865 721438 http://www.telinco.co.uk/psherwin/index.htm
Fax +44 (0)1865 434331 mailto:psherwin at telinco.co.uk
Pager +44 (0)7666 797228
More information about the samba