Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rquota(3R) — bsd — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

quota(1)

quotactl(2)



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



NAME
     rquota - implement quotas on remote machines

SYNPOSIS
     #include <rpcsvc/rquota.h>

RPC INFO
     program number:
          RQUOTAPROG

     xdr routines:
          xdr_getquota_args(xdrs, gqa);
               XDR *xdrs;
               struct getquota_args *gqa;
          xdr_getquota_rslt(xdrs, gqr);
               XDR *xdrs;
               struct getquota_rslt *gqr;
          xdr_rquota(xdrs, rq);
               XDR *xdrs;
               struct rquota *rq;
     procs:
          RQUOTAPROC_GETQUOTA
          RQUOTAPROC_GETACTIVEQUOTA
               Arguments of struct getquota_args.
               Returns struct getquota_rslt.
               Uses UNIX authentication.
               Returns quota only on filesystems with quota active.
     versions:
          RQUOTAVERS_ORIG

     structures:
          struct getquota_args {
               char *gqa_pathp;    /* path to filesystem of interest */
               int gqa_uid;        /* inquire about quota for uid */
          };
          /*
           * remote quota structure
           */
          struct rquota {
               int rq_bsize;       /* block size for block counts */
               bool_t rq_active;   /* indicates whether quota is active */
               u_long rq_bhardlimit;    /* absolute limit on disk blks alloc */
               u_long rq_bsoftlimit;    /* preferred limit on disk blks */
               u_long rq_curblocks;     /* current block count */
               u_long rq_fhardlimit;    /* absolute limit on allocated files */
               u_long rq_fsoftlimit;    /* preferred file limit */
               u_long rq_curfiles; /* current # allocated files */
               u_long rq_btimeleft;     /* time left for excessive disk use */
               u_long rq_ftimeleft;     /* time left for excessive files */
          };
          enum gqr_status {
               Q_OK = 1,      /* quota returned */
               Q_NOQUOTA = 2,      /* noquota for uid */



                         Printed 1/15/91                   Page 1




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



               Q_EPERM = 3         /* no permission to access quota */
          };
          struct getquota_rslt {
               enum gqr_status gqr_status;   /* discriminant */
               struct rquota gqr_rquota;     /* valid if status == Q_OK */
          };

SEE ALSO
     quota(1), quotactl(2)














































 Page 2                  Printed 1/15/91



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