Re: mount() = mount -f NFS,bg
From: gdm (ggdm123a._sans_le_a_at_club-internet.fr)
Date: 11/17/03
- Next message: Mohun Biswas: "Re: looking for searchpath function"
- Previous message: firial: "[Q] raw socket listening problem."
- In reply to: Fletcher Glenn: "Re: mount() = mount -f NFS,bg"
- Next in thread: Fletcher Glenn: "Re: mount() = mount -f NFS,bg"
- Reply: Fletcher Glenn: "Re: mount() = mount -f NFS,bg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 17 Nov 2003 20:42:55 +0100
Fletcher Glenn wrote:
> gdm wrote:
>> in my program, I want to use mount to mount NFS. the rigth command is
>> #mount -f NFS,bg u8:/ /nfs/u8
>> in my program I write:
>> mflag=0;
>> fstyp=0;
>> cc=mount("u8/","/nfs/u8",mflag, fstyp,NULL,0);
>> this function does not work. what should be mflag? what should be
>> fstyp? gdm
> Your mount() function call does not match the prototype on the
> mount(2) man page for Solaris. You probably need to specify your O/S
> if you
> want specific help. BTW - on the Solaris function, fstyp is a char *.
I use SCO openserver5.0.5. But I am not sure that the syscall could be so
different according to the O/S. it seems that my problem is to know what
value is mflag and to know what value is fstyp.
gdm
- Next message: Mohun Biswas: "Re: looking for searchpath function"
- Previous message: firial: "[Q] raw socket listening problem."
- In reply to: Fletcher Glenn: "Re: mount() = mount -f NFS,bg"
- Next in thread: Fletcher Glenn: "Re: mount() = mount -f NFS,bg"
- Reply: Fletcher Glenn: "Re: mount() = mount -f NFS,bg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|