All of lore.kernel.org
 help / color / mirror / Atom feed
* [NFS]  [PATCH] Fix nfsstat --mounted
@ 2008-02-22  2:07 Peng Haitao
  0 siblings, 0 replies; only message in thread
From: Peng Haitao @ 2008-02-22  2:07 UTC (permalink / raw)
  To: neilb@suse.de, gam3-9QXkWSUAZhY; +Cc: nfs@lists.sourceforge.net

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-22  2:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-22  2:07 [NFS] [PATCH] Fix nfsstat --mounted Peng Haitao

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.