lkml.org 
[lkml]   [1998]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Samba mounts?
Date
Paul Tomblin enscribed thusly:
> Quoting Michael H. Warfield (mhw@wittsend.com):
> > With all kernels > 2.1.70 you need the smbmount program from samba.
> > The smbmount program from smbfs no longer works with newer kernels. That
> > message needs to be changed to something more sensible.

> That's done it. Thanks for everybody who sent me this solution both to the
> list and privately. Now all I have to do is figure out the new syntax, and
> how to set up my init scripts so that they work on new and old kernels.

Oh... If you are trying to get things to work with the old and
new kernels you might want to check out an smbmount.sh script I have
available. Go to http://www.wittsend.com/mhw/smbmount.html for more
information. Basically, you install an smbmount from smbfs as smbmount.smbfs
and smbmount from samba as smbmount.samba both in /sbin. You then install
this script as smbmount in /sbin. (Watch out for installations, smbmount
normally installs in /usr/bin, not /sbin - this change was intentional to
prevent "make install" from crushing the script.) The script checks
what kernel version you are running and calls the appropriate binary
and translates syntax, if required (2.1 kernels). This then works with
autofs and other critters that think they know the smbmount syntax.

> --
> "Linux's homebase is currently commodity network and server infrastructure. By
> folding extended functionality ... into today's commodity services, we raise
> the bar & change the rules of the game."
> - Microsoft leaks their strategy for monopolizing the Internet and the desktop.
>

Mike
--
Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com
(The Mad Wizard) | (770) 925-8248 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.041 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site