Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mount(3N) — HP-UX 10.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(1M)

mountd(1M)

showmount(1M)

mount(3N)

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.

SEE ALSO

mount(1M), mountd(1M), showmount(1M). 

Hewlett-Packard Company  —  HP-UX Release 10.20:  July 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026