> From: Nilesh Chate [mailto:[email protected]] > > Hi, > I am using the following ganesha.conf > > EXPORT > { > Export_Id = 77; > Path = /home; > Pseudo = /home; > Access_Type = RW; > FSAL { > Name = VFS; > } > } > > Q1. I want to also pass some extra details via this config file. How do i do > that?. Ex. I want to pass a string(some extra mounpoints) via this config > file?.
Are you implementing a new FSAL? What is the extra mountpoints you want to pass? You can add options to the FSAL block of the export. That block is BOTH parsed by Ganesha's export code AND by the FSAL. > Q2. Can i know the path where the client have mounted our exported path?. > If yes how? An FSAL could infer if any sub-directories of exports have been mounted by NFS v3 clients (and which directories, and even which client) by tracking how lookup_path is called, but of course if the client had mounted and then the server reboots, that information is lost. NFS v4 clients even when the "mount" something other than the PseudoFS root, do a PUTROOTFH followed at some later point (POSSIBLY in a single COMPOUND) LOOKUPs. There would be no way to infer for sure what the "mount" on the client was. My question to you would be what do you hope to accomplish by having this information? Perhaps there is some other way to get what you need. Frank --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ------------------------------------------------------------------------------ _______________________________________________ Nfs-ganesha-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
