mount(2) parameters
dao_at_snakebrook.com
Date: 01/18/05
- Next message: Larry I Smith: "Re: mount(2) parameters"
- Previous message: Mr usobe: "Wireless network Adapter device driver"
- Next in thread: Larry I Smith: "Re: mount(2) parameters"
- Reply: Larry I Smith: "Re: mount(2) parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Jan 2005 19:06:52 -0800
Hi, I am trying to figure out the paremeters to the mount(2) system
call, in particular, the "void *data" parameter.
Specifically, is this parameter a pointer to a string (char*) set of
options, or is it the address of a "struct nfs_mount_data". I seem to
be reading conflicting things in the man pages.
Either way, I have tried both (a char* and a strcut nfs_mount_data and
mount(2) returns an error regardless of what I puch in for data.
I'm doing some liek the following:
mount("192.168.1.6:/fs45", "/fs54", "nfs", MS_RDONLY, data);
where data is either one of the following:
char *data=" ... ";
or
struct nfs_mount_data data;
Any help is appreciated.
Jack
- Next message: Larry I Smith: "Re: mount(2) parameters"
- Previous message: Mr usobe: "Wireless network Adapter device driver"
- Next in thread: Larry I Smith: "Re: mount(2) parameters"
- Reply: Larry I Smith: "Re: mount(2) parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|