From: Steve Dickson <SteveD@redhat.com>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: NFS list <linux-nfs@vger.kernel.org>,
Linux NFSv4 mailing list <nfsv4@linux-nfs.org>,
Jan Sanders <jsanders@TechFak.Uni-Bielefeld.DE>
Subject: Re: NFS: unknown mount option: grpid
Date: Thu, 10 Apr 2008 12:07:46 -0400 [thread overview]
Message-ID: <47FE3B52.5060907@RedHat.com> (raw)
In-Reply-To: <20080410153449.GA9429@fieldses.org>
J. Bruce Fields wrote:
>>>>> The mount call returns with EINVAL invalis argument.
>>>>>
>>>>> From strace:
>>>>> mount("nfs-server:/volumes/www", "/vol/www", "nfs", MS_NOSUID,
>>>>> "grpid,addr=192.168.0.123") = -1 EINVAL (Invalid argument)
>>>>>
>>
>> However, I was not aware of a requirement for NFS mount to ignore all
>> options it doesn't understand.
>>
>> It's easy enough to add, I suppose. Community opinion?
>
> This is exactly what "-s" ("sloppy") is supposed to do, right? At
> least, that's what "man mount" says.
Not exactly... Looking at the code it seems '-s' will cause the mount.nfs
command to ignore unknown _nfs_ options. In this case it appears the
sys_mount call is failing which something different.
steved.
next prev parent reply other threads:[~2008-04-10 16:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <47FE0C42.6030900@TechFak.Uni-Bielefeld.DE>
[not found] ` <56D1CF7A-BB26-4D07-B47D-9D43D55A1B8F@oracle.com>
[not found] ` <47FE2C2D.1070703@redhat.com>
2008-04-10 15:17 ` NFS: unknown mount option: grpid Chuck Lever
2008-04-10 15:34 ` J. Bruce Fields
2008-04-10 16:07 ` Steve Dickson [this message]
2008-04-14 12:34 ` Jan Sanders
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=47FE3B52.5060907@RedHat.com \
--to=steved@redhat.com \
--cc=bfields@fieldses.org \
--cc=jsanders@TechFak.Uni-Bielefeld.DE \
--cc=linux-nfs@vger.kernel.org \
--cc=nfsv4@linux-nfs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.