public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* nfs-utils and unfsd
@ 2008-08-04 19:55 Chuck Lever
  2008-08-04 20:18 ` Chuck Lever
  2008-08-05 18:13 ` Steve Dickson
  0 siblings, 2 replies; 5+ messages in thread
From: Chuck Lever @ 2008-08-04 19:55 UTC (permalink / raw)
  To: Steve Dickson, Neil Brown; +Cc: Linux NFS Mailing List

There is a generic RPC server helper in nfs-utils called rpc_init().   
This API will need to be modified to support IPv6 in statd and mountd,  
at least.

However, there is a comment inside support/nfs/rpcmisc.c, where  
rpc_init() resides, that suggests that this interface is also used by  
unfsd.

Is it OK for me to modify nfs-utils' copy of this function, or is  
there any kind of ABI restriction between unfsd and nfs-utils?

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs-utils and unfsd
  2008-08-04 19:55 nfs-utils and unfsd Chuck Lever
@ 2008-08-04 20:18 ` Chuck Lever
  2008-08-05 18:13 ` Steve Dickson
  1 sibling, 0 replies; 5+ messages in thread
From: Chuck Lever @ 2008-08-04 20:18 UTC (permalink / raw)
  To: Steve Dickson, Neil Brown; +Cc: Linux NFS Mailing List

On Aug 4, 2008, at 3:55 PM, Chuck Lever wrote:
> There is a generic RPC server helper in nfs-utils called  
> rpc_init().  This API will need to be modified to support IPv6 in  
> statd and mountd, at least.
>
> However, there is a comment inside support/nfs/rpcmisc.c, where  
> rpc_init() resides, that suggests that this interface is also used  
> by unfsd.
>
> Is it OK for me to modify nfs-utils' copy of this function, or is  
> there any kind of ABI restriction between unfsd and nfs-utils?

I'd also like to point out that the block comment at the top of  
support/nfs/rpcmisc.c says:

   5  * This code is partially snarfed from rpcgen -s tcp -s udp,
   6  * partly written by Mark Shand, Donald Becker, and Rick
   7  * Sladkey. It was tweaked slightly by Olaf Kirch to be
   8  * usable by both unfsd and mountd.
   9  *
  10  * This software may be used for any purpose provided
  11  * the above copyright notice is retained.  It is supplied
  12  * as is, with no warranty expressed or implied.

The second paragraph refers to "the above copyright notice," but there  
is no copyright notice.

--
Chuck Lever
chucklever[at]mac[dot]com


--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs-utils and unfsd
  2008-08-04 19:55 nfs-utils and unfsd Chuck Lever
  2008-08-04 20:18 ` Chuck Lever
@ 2008-08-05 18:13 ` Steve Dickson
       [not found]   ` <48989831.2030808-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Steve Dickson @ 2008-08-05 18:13 UTC (permalink / raw)
  To: Chuck Lever; +Cc: Neil Brown, Linux NFS Mailing List



Chuck Lever wrote:
> There is a generic RPC server helper in nfs-utils called rpc_init(). 
> This API will need to be modified to support IPv6 in statd and mountd,
> at least.
> 
> However, there is a comment inside support/nfs/rpcmisc.c, where
> rpc_init() resides, that suggests that this interface is also used by
> unfsd.
> 
> Is it OK for me to modify nfs-utils' copy of this function, or is there
> any kind of ABI restriction between unfsd and nfs-utils?
I don't see any problem... Is there even a supported/maintained version
of unfsd out there today? I did a quick google search and didn't find
anything but man pages... 

steved.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs-utils and unfsd
       [not found]   ` <48989831.2030808-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
@ 2008-08-05 18:30     ` Chuck Lever
  2008-08-05 19:24       ` Bernd Schubert
  0 siblings, 1 reply; 5+ messages in thread
From: Chuck Lever @ 2008-08-05 18:30 UTC (permalink / raw)
  To: Steve Dickson; +Cc: Neil Brown, Linux NFS Mailing List

On Aug 5, 2008, at 2:13 PM, Steve Dickson wrote:
> Chuck Lever wrote:
>> There is a generic RPC server helper in nfs-utils called rpc_init().
>> This API will need to be modified to support IPv6 in statd and  
>> mountd,
>> at least.
>>
>> However, there is a comment inside support/nfs/rpcmisc.c, where
>> rpc_init() resides, that suggests that this interface is also used by
>> unfsd.
>>
>> Is it OK for me to modify nfs-utils' copy of this function, or is  
>> there
>> any kind of ABI restriction between unfsd and nfs-utils?
> I don't see any problem... Is there even a supported/maintained  
> version
> of unfsd out there today? I did a quick google search and didn't find
> anything but man pages...

I found this ancient web page:

http://rpm.pbone.net/index.php3/stat/4/idpl/6572509/com/unfs3-0.9.20-1.el3.pp.i386.rpm.html

which suggests there is no binary dependency between unfsd and nfs- 
utils.

I ask because we have had some unfsd questions on the list in the past  
year, so I assumed it was something that was still supported by some  
distributions.

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs-utils and unfsd
  2008-08-05 18:30     ` Chuck Lever
@ 2008-08-05 19:24       ` Bernd Schubert
  0 siblings, 0 replies; 5+ messages in thread
From: Bernd Schubert @ 2008-08-05 19:24 UTC (permalink / raw)
  To: Chuck Lever; +Cc: Steve Dickson, Neil Brown, Linux NFS Mailing List

On Tuesday 05 August 2008, Chuck Lever wrote:
> On Aug 5, 2008, at 2:13 PM, Steve Dickson wrote:
> > Chuck Lever wrote:
> >> There is a generic RPC server helper in nfs-utils called rpc_init().
> >> This API will need to be modified to support IPv6 in statd and
> >> mountd,
> >> at least.
> >>
> >> However, there is a comment inside support/nfs/rpcmisc.c, where
> >> rpc_init() resides, that suggests that this interface is also used by
> >> unfsd.
> >>
> >> Is it OK for me to modify nfs-utils' copy of this function, or is
> >> there
> >> any kind of ABI restriction between unfsd and nfs-utils?
> >
> > I don't see any problem... Is there even a supported/maintained
> > version
> > of unfsd out there today? I did a quick google search and didn't find
> > anything but man pages...
>
> I found this ancient web page:
>
> http://rpm.pbone.net/index.php3/stat/4/idpl/6572509/com/unfs3-0.9.20-1.el3.
>pp.i386.rpm.html
>
> which suggests there is no binary dependency between unfsd and nfs-
> utils.

This is unfs3, which is a rewritten from scratch by Pascal Schmidt and so 
unrelated to unfsd.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-05 19:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 19:55 nfs-utils and unfsd Chuck Lever
2008-08-04 20:18 ` Chuck Lever
2008-08-05 18:13 ` Steve Dickson
     [not found]   ` <48989831.2030808-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2008-08-05 18:30     ` Chuck Lever
2008-08-05 19:24       ` Bernd Schubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox