Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Josh Helmer
On Wednesday 08 March 2006 22:04, Darryl Wagoner wrote: > On 3/8/06, Josh Helmer <[EMAIL PROTECTED]> wrote: > > man 2 mount is not going to help. If you had looked closer you would > > realize > > that the "data" argument is the last argument not the filesystem > > type. The > > man page only say

Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Darryl Wagoner
On 3/8/06, Josh Helmer <[EMAIL PROTECTED]> wrote: man 2 mount is not going to help.  If you had looked closer you would realizethat the "data" argument is the last argument not the filesystem type.  Theman page only says that the data argument is "typically" a comma separated string.   I don't beli

Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread DebianTux23
www.wolfspakt.de/spiel.php?id=7358

Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Josh Helmer
On Wednesday 08 March 2006 21:07, Petr Uzel wrote: > IMHO it's easier to look at 'man 2 mount' : > > ... > Values for the filesystemtype argument supported by the kernel are listed > in /proc/filesystems (like "minix", "ext2", "msdos", "proc", "nfs", > "iso9660" etc.). man 2 mount is not going t

Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Petr Uzel
> It's been about 4 years since I last had to do that (so no guarantees), but > If I remember correctly the data argument for NFS is not just a string. > Instead I believe that you have to do some other magic to encode the data > correctly. I would recommend looking at the source code for mount an

Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Josh Helmer
On Wednesday 08 March 2006 19:55, c.s.prakash wrote: > when i mount the nfs through the system call > > mount("192.168.0.51:/root", "/mnt/9", "nfs", 0, "rw, async"); > > it shows an invalid argument. but when i do this thru mount command it > mounts without any problem It's been about 4 years sinc

[gentoo-user] mount nfs thru mount system call

2006-03-08 Thread c.s.prakash
when i mount the nfs through the system callmount("192.168.0.51:/root", "/mnt/9", "nfs", 0, "rw, async");it shows an invalid argument. but when i do this thru mount command it mounts without any problem -- C.S.Prakash