Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mount(3R) — bsd — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rpc(3N)

mount(1M)

mountd(1M)

showmount(1M)

MOUNT(3R-BSD)



MOUNT(3R-BSD)       RISC/os Reference Manual        MOUNT(3R-BSD)



NAME
     mount - keep track of remotely mounted filesystems

SYNOPSIS
     For -systype svr3 and -systype bsd43:

     #include <rpcsvc/mount.h>

DESCRIPTION
     mount is an RPC call that keeps track of remotely mounted
     filesystems.  mount must be invoked with callrpc(see
     rpc(3N)).

RPC INFO
     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.



                        Printed 11/19/92                   Page 1





MOUNT(3R-BSD)       RISC/os Reference Manual        MOUNT(3R-BSD)



          MOUNTPROC_DUMP
               no args, returns struct mountlist
          MOUNTPROC_UMNT
               argument of xdr_path, no results.
               requires unix authentication.
          MOUNTPROC_UMNTALL
               no arguments, no results.
               requires unix authentication.
               umounts all remote mounts of sender.
          MOUNTPROC_EXPORT
          MOUNTPROC_EXPORTALL
               no args, 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;
          };

SEE ALSO
     rpc(3N).
     mount(1M), mountd(1M), showmount(1M) in the System
     Administrator's Reference Manual.





 Page 2                 Printed 11/19/92





MOUNT(3R-BSD)       RISC/os Reference Manual        MOUNT(3R-BSD)



ORIGIN
     Sun Microsystems Inc.

NOTE
     These routines are not resolved by libc.a.  See intro(3R)
     for more information.

















































                        Printed 11/19/92                   Page 3



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