Re: Doc for adding new NFS export option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday July 7, shehjart@xxxxxxxxxxxxxxx wrote:
> Hi All
> 
> Is there a document that enumerates which files and functions I need 
> to add stuff to, for adding a new server-side export option?

No.  I think the theory is that unless you have read and understood
the code, you should really be thinking about adding new options.
And if you have, then you don't need any documentations.
:-)

> 
> I've tried adding it to some of the functions in the exportfs related 
> code in nfs-utils and also in the kernel's export related headers but 
> I dont think that is all there is to it.

That sounds good, but without details, it is hard to be sure.
Don't be afraid to send a patch which shows what you are trying to do.

> 
> I ask this because without my new option, I am able to mount the 
> export correctly but with it, the mount command fails with the 
> following message:
> 
> mount.nfs: 192.168.10.5:/data/nfstest failed, reason given by server: 
> Permission denied

So what exactly is this new export option that you want to add?

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

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux