mount(3N) mount(3N)NAME mount - keeps track of remotely mounted file systems SYNOPSIS #include <rpcsvc/mount.h> DESCRIPTION RPC information Program number: MOUNTPROG xdr routines: xdr_exportbody(xdrs, ex) XDR *xdrs; struct exports *ex; xdr_exports(xdrs, ex); XDR *xdrs; struct exports **ex; xdr_fhandle(xdrs, fh); XDR *xdrs; fhandle_t *fp; xdr_fhstatus(xdrs, fhs); XDR *xdrs; struct fhstatus *fhs; xdr_groups(xdrs, gr); XDR *xdrs; struct groups *gr; xdr_mountbody(xdrs, ml) XDR *xdrs; struct mountlist *ml; xdr_mountlist(xdrs, ml); XDR *xdrs; struct mountlist **ml; xdr_path(xdrs, path); XDR *xdrs; char **path; Procs: MOUNTPROC_MNT Argument of xdr_path; returns fhstatus. Requires UNIX authentication. MOUNTPROC_DUMP No arguments; returns structure mountlist. MOUNTPROC_UMNT Argument of xdr_path; no results. Requires UNIX authentication. MOUNTPROC_UMNTALL January 1992 1
mount(3N) mount(3N)No arguments; no results. Requires UNIX authentication. Unmounts all remote mounts of sender. MOUNTPROC_EXPORT MOUNTPROC_EXPORTALL No arguments; returns structure exports. Versions: MOUNTVERS_ORIG Structures: struct mountlist { /* what is mounted */ char *ml_name; char *ml_path; struct mountlist *ml_nxt; }; struct fhstatus { int fhs_status; fhandle_t fhs_fh; }; /* * List of exported directories * An export entry with ex_groups NULL * indicates an entry which is exported * to the world. */ struct exports { dev_t ex_dev; /* dev of directory */ char *ex_name; /* name of directory */ struct groups *ex_groups; /* groups allowed to mount this entry */ struct exports *ex_next; }; struct groups { char *g_name; struct groups *g_next; }; SEE ALSO mount(1M), mountd(1M), showmount(1M) in A/UX System Administrator's Reference NFS Protocol Spec, Section 3, in A/UX Network Applications Programming 2 January 1992