Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > M

mount(3N)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

mount — keep track of remotely mounted file systems

SYNOPSIS

#include <rpcsvc/mount.h>

DESCRIPTION

Program number

MOUNTPROG

The following are the xdr routines provided:

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 struct mountlist

MOUNTPROC_UMNT

Argument of xdr_path; no results. Requires UNIX authentication.

MOUNTPROC_UMNTALL

No arguments; no results. Requires UNIX authentication. Unmounts all remote mounts of sender.

MOUNTPROC_EXPORT

No arguments; returns struct exports

MOUNTPROC_EXPORTALL

No arguments; returns struct 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; };

AUTHOR

mount(3N) was developed by Sun Microsystems, Inc.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.