* [PATCH] add missing long option for -r in mountd
@ 2006-12-19 16:59 Jeff Layton
2006-12-19 19:33 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Layton @ 2006-12-19 16:59 UTC (permalink / raw)
To: nfs; +Cc: neilb
I forgot a bit of code that needs to go into patch 3 that I posted yesterday.
This adds a long option for the -r option. I'll post manpage update patches
once I get them written up.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
--- nfs-utils-1.0.10/utils/mountd/mountd.c.longopt
+++ nfs-utils-1.0.10/utils/mountd/mountd.c
@@ -67,6 +67,7 @@ static struct option longopts[] =
{ "ha-callout", 1, 0, 'H' },
{ "state-directory-path", 1, 0, 's' },
{ "num-threads", 1, 0, 't' },
+ { "reverse-lookup", 0, 0, 'r' },
{ NULL, 0, 0, 0 }
};
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] add missing long option for -r in mountd
2006-12-19 16:59 [PATCH] add missing long option for -r in mountd Jeff Layton
@ 2006-12-19 19:33 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2006-12-19 19:33 UTC (permalink / raw)
To: Jeff Layton; +Cc: nfs
On Tuesday December 19, jlayton@redhat.com wrote:
> I forgot a bit of code that needs to go into patch 3 that I posted yesterday.
> This adds a long option for the -r option. I'll post manpage update patches
> once I get them written up.
>
> Signed-off-by: Jeff Layton <jlayton@redhat.com>
Thanks.
>
> --- nfs-utils-1.0.10/utils/mountd/mountd.c.longopt
> +++ nfs-utils-1.0.10/utils/mountd/mountd.c
> @@ -67,6 +67,7 @@ static struct option longopts[] =
> { "ha-callout", 1, 0, 'H' },
> { "state-directory-path", 1, 0, 's' },
> { "num-threads", 1, 0, 't' },
> + { "reverse-lookup", 0, 0, 'r' },
> { NULL, 0, 0, 0 }
> };
Your patches have some odd white-space damage. The lines that are
unchanged should start with one space, then a tab, but they actually
start with two spaces, so 'patch' cannot cope at all. Fortunately
'wiggle' gets it close enough that it is easy to fix by hand, but it
would be nice if you could figure out what is happening.
Thanks,
NeilBrown
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-19 19:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-19 16:59 [PATCH] add missing long option for -r in mountd Jeff Layton
2006-12-19 19:33 ` Neil Brown
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.