idspace(1M) idspace(1M)
NAME
idspace - determine if there is enough file system free space
SYNOPSIS
/etc/conf/bin/idspace [-i inodes] [-r blocks | -u blocks | -t blocks]
DESCRIPTION
One of the ID/TP kernel configuration tools, idspace checks
whether sufficient free space exists to perform a kernel
reconfiguration [see idbuild(1M)]. By default, idspace checks
the number of available disk blocks and inodes in three file
systems: / (and, if they exist) /usr, and /tmp.
The default tests performed by idspace are:
Verify that the root file system (/) has 400 blocks more
than the size of the current /stand/unix. This verifies
that a device driver being added to the current
/stand/unix can be built and placed in the root
filesystem. idspace also checks to ensure that 100
inodes exist in the root directory.
Determine whether a /usr file system exists. If it does
exist, idspace checks whether 400 free blocks and 100
inodes are available in the /usr file system. If the
file system does not exist, idspace does not report an
error, however, because files created in /usr by the
reconfiguration process will be created in the parent
root file system, and space requirements are covered by
the idspace test of the root file system.
Determine whether a /tmp file system exists. If it does
exist, idspace checks whether 400 free blocks and 100
inodes are available in the /tmp file system. As with
the test for the /usr file system, if the /tmp file
system does not exist, idspace does not report an error,
because files created in /tmp by the reconfiguration
process will be created in the root file system, and
space requirements are covered by the idspace test of
the root file system.
Options
idspace takes the following options:
Copyright 1994 Novell, Inc. Page 1
idspace(1M) idspace(1M)
-i inodes Override the default test for 100 inodes for all
three of the idspace file system space checks, and
test for the specified number of inodes instead.
-r blocks Override the default test for /stand/unix size + 400
blocks when checking the root (/) file system, and
test for the specified number of blocks instead.
When the -r option is used, the /usr and /tmp file
systems are not tested.
-u blocks Override the default test for 400 blocks when
checking the /usr file system, and test for the
specified number of blocks instead. When the -u
option is used, the root (/) and /tmp file systems
are not tested. If /usr is not a separate file
system, an error is reported.
-t blocks Override the default test for 400 blocks when
checking the /tmp file system, and test for the
specified number of blocks instead. When the -t
option is used, the root (/) and /usr file systems
are
not tested. If /tmp is not a separate file system,
an error is reported.
Errors
An exit value of zero indicates success. If insufficient
space exists in a file system or an error was encountered due
to a syntax or format error, idspace reports the error in a
message. The specific exit values are as follows:
0 Successful completion
1 Command syntax error, or needed file does not exist
2 File system has insufficient space or inodes
3 Requested file system does not exist (-u and -t options
only).
REFERENCES
idbuild(1M), idinstall(1M)
Copyright 1994 Novell, Inc. Page 2