mount() = mount -f NFS,bg

From: gdm (ggdm123a._sans_le_a_at_club-internet.fr)
Date: 11/17/03


Date: Mon, 17 Nov 2003 16:30:02 +0100

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



Relevant Pages

  • Re: mount() = mount -f NFS,bg
    ... > gdm wrote: ... I want to use mount to mount NFS. ... You probably need to specify your O/S ... value is mflag and to know what value is fstyp. ...
    (comp.unix.programmer)
  • Re: mount() = mount -f NFS,bg
    ... I want to use mount to mount NFS. ... the rigth command is ...
    (comp.unix.programmer)