cpd(1) DG/UX 5.4.2 cpd(1)
NAME
cpd - change or view the allocation limits for a control point
directory
SYNOPSIS
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 last component of dirname may not be "." or "..". Use an
absolute pathname instead.
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
cpd returns a nonzero status code if any of the dirnames does not
exist, is not a CPD, is not on a local file system, or has a last
component of "." or "..". Otherwise, 0 is returned.
SEE ALSO
ls(1), mkdir(1).
Licensed material--property of copyright holder(s) 1