From: Jamie Lokier <jamie@shareable.org>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Jan Kesten <rwe.piller@the-hidden-realm.de>,
linux-kernel@vger.kernel.org
Subject: Re: kernel 2.6.4 and nfs lockd.udpport?
Date: Wed, 31 Mar 2004 15:57:11 +0100 [thread overview]
Message-ID: <20040331145711.GB18990@mail.shareable.org> (raw)
In-Reply-To: <1080587948.2410.68.camel@lade.trondhjem.org>
Trond Myklebust wrote:
> > I read the docs and found that the parameters sould be lockd.udpport and
> > lockd.tcpport=xxx - but this doesn't work. While booting I got errors that
> > both are unknown boot options.
> >
> > Where is my mistake?
>
> Someone updated lockd so that it uses a sysctl-based interface instead.
> Apparently without changing the docs.
I added the sysctl-based interface, and kept the modules parameters,
and updated the code in line with the 2.6 module parameter style.
See the "module_param_call" lines in fs/lockd/svc.c.
The module parameters "nlm_udpport" and "nlm_tcpport" _do_ work -- I
use them with my firewall.
For some reason, because modules don't need #ifdef MODULE any more, I
thought module_param*() entries would be automatically available as
boot parameters. Silly me, that would be too obvious.
-- Jamie
next prev parent reply other threads:[~2004-03-31 14:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-29 9:58 Jan Kesten
2004-03-29 19:19 ` Trond Myklebust
2004-03-31 14:57 ` Jamie Lokier [this message]
2004-03-31 16:25 ` Trond Myklebust
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=20040331145711.GB18990@mail.shareable.org \
--to=jamie@shareable.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rwe.piller@the-hidden-realm.de \
--cc=trond.myklebust@fys.uio.no \
/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®