From: "Steve French" <smfrench@gmail.com>
To: "Jan Engelhardt" <jengelh@computergmbh.de>
Cc: "David Newall" <davidn@davidnewall.com>,
"Adrian Bunk" <bunk@kernel.org>,
sfrench@samba.org, samba-technical@lists.samba.org,
linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] remove smbfs
Date: Wed, 30 Jan 2008 20:54:06 -0600 [thread overview]
Message-ID: <524f69650801301854p5d095233kfebabcfc41b00be4@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0801310310220.13320@fbirervta.pbzchgretzou.qr>
On Jan 30, 2008 8:23 PM, Jan Engelhardt <jengelh@computergmbh.de> wrote:
>
>
> On Jan 31 2008 12:33, David Newall wrote:
> >Jan Engelhardt wrote:
> >> On Jan 30 2008 12:53, Steve French wrote:
> >>
> >>> I have mounted to Windows98 a few months ago with no problems (other
> >>> than a few restrictions like you can't set the file times via utimes).
> >>> For mounts to Windows98 note that you have to specify the server
> >>> netbios name on the mount (since it is not the same as the DNS name).
> >>> In your example your would need to specify "servernetbiosname=WIN98"
> >>> in the mount options (until mount.cifs autoretries with
> >>> servernetbiosname assumed to be the beginning of the UNC name - note
> >>> that later servers have a dummy netbios name that is used so this
> >>> mount option is only needed for OS/2 and Win9x).
> >>
> >> Ok that works. I had tried "netbiosname" but not "servernetbiosname"
> >> (only fuzzy memories from the last win98 encounter and the suggestion
> >> to use netbiossomething).
> >
> >Apparently CIFS lacks an adequate man page (otherwise Jan would have
> >discovered servernetbiosname for himself.) That's sufficient reason to
> >keep smbfs, and just to be radical, why not remove cifs until it's
> >properly documented? Man pages are essential.
The cifs user guide (note that smbfs did not have a user's guide) does
list the required mount options pretty clearly in the section on mount
syntax on page 4. Excerpt follows:
mounting to older servers (those prior to1997) may require specifying
two additional fields beyond
those which smbfs required:
a) The server's netbios (RFC1001) name AND the server's tcp (or ip )
address. CIFS does not
assume, as smbfs did, that the tcp name and the netbios name of the
server are the same. The netbios name of the server is specified by
passing the mount option "servern=SERVERNAME" and is not assumed to be
necessarily the same as the tcp name of the server (also note that the
netbios name is usually capitalized). Both tcp/ip name and netbios
name have to be specified for mounts for most old lanman servers. For
example:
mount -t cifs //tcp-name-of-server/sharename
Current versions of "mount.cifs -h" also list all mount options, and
the README information on the syntax is also current and contains
information which needs to be added to the mount.cifs man page. I
will make this fix for the mount.cifs man page, it lags behind the
mount.cifs help and the README but any additional updates to the man
page text to clarify it would be welcome.
> smbfs does not seem to do NT/XP mounts, so that's kinda problematic
> too, as fun as it sounds :)
--
Thanks,
Steve
next prev parent reply other threads:[~2008-01-31 2:54 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 22:08 Adrian Bunk
2008-01-28 22:55 ` Steve French
2008-01-30 18:27 ` Jan Engelhardt
2008-01-30 18:53 ` Steve French
2008-01-30 19:05 ` Jan Engelhardt
2008-01-31 1:23 ` Steve French
2008-01-31 11:18 ` Jan Engelhardt
2008-01-31 2:03 ` David Newall
2008-01-31 2:23 ` Jan Engelhardt
2008-01-31 2:54 ` Steve French [this message]
2008-01-30 20:52 ` Guenter Kukkukk
2008-01-30 21:16 ` Guenter Kukkukk
2008-01-30 22:41 ` Jeff Layton
2008-01-30 22:58 ` Adrian Bunk
2008-01-31 0:34 ` Jeff Layton
2008-01-31 0:47 ` Adrian Bunk
2008-01-31 1:13 ` Jeff Layton
2008-01-31 1:30 ` Steve French
2008-01-31 8:26 ` Radoslaw Szkodzinski
2008-01-31 9:51 ` Andi Kleen
2008-01-31 1:34 ` Steve Langasek
2008-01-31 2:58 ` Steve French
2008-01-31 0:58 ` Lennart Sorensen
2008-02-05 8:18 ` Andrew Morton
2008-02-05 11:31 ` Jeff Layton
2008-02-05 18:17 ` Andrew Morton
2008-02-05 14:04 ` Alejandro Riveira Fernández
2008-02-05 14:58 ` Steve French
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=524f69650801301854p5d095233kfebabcfc41b00be4@mail.gmail.com \
--to=smfrench@gmail.com \
--cc=bunk@kernel.org \
--cc=davidn@davidnewall.com \
--cc=jengelh@computergmbh.de \
--cc=linux-kernel@vger.kernel.org \
--cc=samba-technical@lists.samba.org \
--cc=sfrench@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®