Linux NFS development
 help / color / mirror / Atom feed
From: Peng Haitao <penght@cn.fujitsu.com>
To: "neilb@suse.de" <neilb@suse.de>, gam3-9QXkWSUAZhY@public.gmane.org
Cc: "nfs@lists.sourceforge.net" <nfs@lists.sourceforge.net>
Subject: [NFS]  [PATCH] Fix nfsstat --mounted
Date: Fri, 22 Feb 2008 10:07:21 +0800	[thread overview]
Message-ID: <47BE2E59.8050309@cn.fujitsu.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]

Execute command "nfsstat --mounted" will print the error message
"nfsstat: unrecognized option `--mounted'".

Package: nfs-utils
Version: 1.1.1

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>

Index: nfs-utils-1.1.1/utils/nfsstat/nfsstat.c
===================================================================
diff -Nurp nfs-utils-1.1.1.orig/utils/nfsstat/nfsstat.c
nfs-utils-1.1.1/utils/nfsstat/nfsstat.c
--- nfs-utils-1.1.1.orig/utils/nfsstat/nfsstat.c	2008-02-19
17:34:14.000000000 +0800
+++ nfs-utils-1.1.1/utils/nfsstat/nfsstat.c	2008-02-19
17:48:52.000000000 +0800
@@ -237,7 +237,7 @@ static struct option longopts[] =
 	{ "all", 0, 0, 'v' },
 	{ "auto", 0, 0, '\3' },
 	{ "client", 0, 0, 'c' },
-	{ "mounts", 0, 0, 'm' },
+	{ "mounted", 0, 0, 'm' },
 	{ "nfs", 0, 0, 'n' },
 	{ "rpc", 0, 0, 'r' },
 	{ "server", 0, 0, 's' },


-- 
Regards
Peng Haitao
--------------------------------------------------
Peng Haitao
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
8/F., Civil Defense Building, No.189 Guangzhou Road,
Nanjing, 210029, China
TEL: +86+25-86630566-837
COINS: 79955-837
FAX: +86+25-83317685
MAIL: penght@cn.fujitsu.com
--------------------------------------------------

[-- Attachment #2: nfsstat_mounted.patch --]
[-- Type: text/plain, Size: 522 bytes --]

diff -Nurp nfs-utils-1.1.1.orig/utils/nfsstat/nfsstat.c nfs-utils-1.1.1/utils/nfsstat/nfsstat.c
--- nfs-utils-1.1.1.orig/utils/nfsstat/nfsstat.c	2008-02-19 17:34:14.000000000 +0800
+++ nfs-utils-1.1.1/utils/nfsstat/nfsstat.c	2008-02-19 17:48:52.000000000 +0800
@@ -237,7 +237,7 @@ static struct option longopts[] =
 	{ "all", 0, 0, 'v' },
 	{ "auto", 0, 0, '\3' },
 	{ "client", 0, 0, 'c' },
-	{ "mounts", 0, 0, 'm' },
+	{ "mounted", 0, 0, 'm' },
 	{ "nfs", 0, 0, 'n' },
 	{ "rpc", 0, 0, 'r' },
 	{ "server", 0, 0, 's' },

[-- Attachment #3: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #4: Type: text/plain, Size: 362 bytes --]

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@lists.sourceforge.net is being discontinued.
Please subscribe to linux-nfs@vger.kernel.org instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs

                 reply	other threads:[~2008-02-22  2:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=47BE2E59.8050309@cn.fujitsu.com \
    --to=penght@cn.fujitsu.com \
    --cc=gam3-9QXkWSUAZhY@public.gmane.org \
    --cc=neilb@suse.de \
    --cc=nfs@lists.sourceforge.net \
    /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