Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cpd(1) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mkdir(1)

ls(1)



     cpd(1)                     DG/UX 4.30                      cpd(1)



     NAME
          cpd - change or view the allocation limits for a control
          point directory

     SYNTAX
          cpd [ -b blocks ] [ -f file-nodes ] dirname...

     DESCRIPTION
          If no options are given, cpd displays the current allocation
          and the maximum allocation of blocks and file nodes for each
          control point directory named on the command line.  If the
          -b or -f option is given, the allocation limits of the
          control point directory are changed as described below:

          -b blocks Set the maximum block allocation to blocks.  This
                    is the maximum number of blocks that can be
                    allocated to this directory and all of its
                    descendants.  Alternatively, you may specify the
                    maximum in bytes instead of blocks.  To do this,
                    append the appropriate suffix to the -b option
                    value:  b for bytes, k for kilobytes (1024 bytes),
                    m for megabytes (1,048,576 bytes), and g for
                    gigabytes (1,073,741,824 bytes).  For example, -b
                    5m sets a limit of 5 megabytes on the amount of
                    space that can be allocated for the directory and
                    all its descendants.  The letter suffix may be
                    upper or lower case.  Note that the byte size may
                    be rounded down by cpd to be a multiple of the
                    block size.

          -f file-nodes
                    Set the file node allocation limit to file-nodes.
                    This is the maximum number of file nodes that can
                    be allocated to this directory and all of its
                    descendants.  file-nodes may include a "k", "m",
                    or "g" suffix.

          In order to change the allocation limits for a CPD, the user
          must have write permission in the parent directory (owning
          the CPD is not sufficient).  In the case where the CPD is
          the root of a file system, only the superuser can change the
          limits.

          The limits for a CPD may be resized to any value between 0
          and the system maximum.  Note that it is not a requirement
          that either allocation limit be greater than the current
          allocation.

          To create a control point directory, use the mkdir(1)
          command.

     DIAGNOSTICS



     Licensed material--property of copyright holder(s)         Page 1





     cpd(1)                     DG/UX 4.30                      cpd(1)



          cpd returns a non-zero status code if any of the dirnames
          does not exist, is not a CPD, or is not a local file system.
          Otherwise, 0 is returned.

     SEE ALSO
          mkdir(1), ls(1).

















































     Licensed material--property of copyright holder(s)         Page 2



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