On 08/30/2010 01:48 PM, Jeff Layton wrote: > On Mon, 30 Aug 2010 12:53:16 -0400 > Steve Dickson <SteveD@xxxxxxxxxx> wrote: >>> >>> Hmmm...if I had known that it was ok to stop supporting old kernels, >>> the IPv6 support for rpc.nfsd would have been a heck of a lot easier to >>> implement. >> I thought you said the legacy interface would not work with IPV6 or >> did I misunderstand you? >> > > Sorry, forgot to answer this part. IPv6 indeed will not work when using > the legacy interface. In order to get the IPv6 code in though, I ended > up rewriting a large swath of rpc.nfsd. That task would have been > easier had I not needed to deal with the legacy nfsctl() interface. > So I'm thinking this the final nail in the coffin of the legacy interface at least in rpc.nfsd. So if /proc/fs/nfsd filesystem is not or can not be mounted then rpc.nfsd should fail... IMHO... Maybe something like: if (stat("/proc/fs/nfsd") < 0) { if (system("mount /proc/fs/nfsd") < 0) { xlog(L_ERROR, "Unable to mount /proc/fs/nfsd"); exit 0; } } steved. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html