i want just like mount systemcall through which i can mount but cant able to list exported filesystem is there any library its working for local filesystem but i get error on mounting nfs i may be giving wrong arguments but it can done easily i think. On 3/8/06, Darryl Wagoner wrote: > > It depends upon how much trouble you want to go thru. > > You could get the source to showmounts and copy that code or you could > write your own server which would live on the NFS server to be a directory > service for NFS mount points. > > > On 3/8/06, c.s.prakash wrote: > > > > thanks > > i can use it load the exported filesystem into a tmp file and can > > display it > > > > but i need to do then in my c program. > > is there something like system calls or library, so can directly do it > > in my program. > > > > > > > > On 3/8/06, Darryl Wagoner wrote: > > > > > > showmount(8) is what you are looking for. You may also want to check > > > out the automounter and/or NIS. > > > > > > > > > On 3/8/06, c.s.prakash < thebase0@gmail.com> wrote: > > > > > > > > hello, > > > > > > > > i have to find the exported filesystem ie., /etc/exports from a nfs > > > > server dynamically > > > > from the client macline. > > > > > > > > then i have to mount the file system ny selecting any of the > > > > exported folder. > > > > i have to done all this thru c program. how can i do. > > > > > > > > i dont know whether this is the correct mailing list. > > > > > > > > -- > > > > C.S.Prakash > > > > > > > > > > > > > > > > -- > > > Darryl Wagoner - WA1GON > > > > > > "Evil triumphs when good men do nothing." - Edmund Burke [1729-1797] > > > > > > > > > > > -- > > C.S.Prakash > > > > > > -- > Darryl Wagoner - WA1GON > > "Evil triumphs when good men do nothing." - Edmund Burke [1729-1797] > -- C.S.Prakash