* [gentoo-user] NFS
@ 2006-03-08 16:04 c.s.prakash
2006-03-08 16:34 ` Darryl Wagoner
0 siblings, 1 reply; 5+ messages in thread
From: c.s.prakash @ 2006-03-08 16:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 373 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] NFS
2006-03-08 16:04 [gentoo-user] NFS c.s.prakash
@ 2006-03-08 16:34 ` Darryl Wagoner
2006-03-08 16:42 ` c.s.prakash
0 siblings, 1 reply; 5+ messages in thread
From: Darryl Wagoner @ 2006-03-08 16:34 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 634 bytes --]
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]
[-- Attachment #2: Type: text/html, Size: 1054 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] NFS
2006-03-08 16:34 ` Darryl Wagoner
@ 2006-03-08 16:42 ` c.s.prakash
2006-03-08 17:45 ` Darryl Wagoner
0 siblings, 1 reply; 5+ messages in thread
From: c.s.prakash @ 2006-03-08 16:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 996 bytes --]
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 <darryl-prv@mason-nh.net> 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
[-- Attachment #2: Type: text/html, Size: 1904 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] NFS
2006-03-08 16:42 ` c.s.prakash
@ 2006-03-08 17:45 ` Darryl Wagoner
2006-03-08 18:03 ` c.s.prakash
0 siblings, 1 reply; 5+ messages in thread
From: Darryl Wagoner @ 2006-03-08 17:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]
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 <thebase0@gmail.com> 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 <darryl-prv@mason-nh.net> 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]
[-- Attachment #2: Type: text/html, Size: 2862 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] NFS
2006-03-08 17:45 ` Darryl Wagoner
@ 2006-03-08 18:03 ` c.s.prakash
0 siblings, 0 replies; 5+ messages in thread
From: c.s.prakash @ 2006-03-08 18:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]
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 <darryl-prv@mason-nh.net> 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 <thebase0@gmail.com> 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 <darryl-prv@mason-nh.net > 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
[-- Attachment #2: Type: text/html, Size: 3687 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-08 18:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-08 16:04 [gentoo-user] NFS c.s.prakash
2006-03-08 16:34 ` Darryl Wagoner
2006-03-08 16:42 ` c.s.prakash
2006-03-08 17:45 ` Darryl Wagoner
2006-03-08 18:03 ` c.s.prakash
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox