idspace(1M) idspace(1M)
NAME
idspace - investigates free space
SYNOPSIS
/etc/conf/bin/idspace [-i inodes] [-r blocks] [-u blocks] [-t blocks]
DESCRIPTION
This command investigates free space in /, /usr, and /tmp file systems
to determine whether sufficient disk blocks and inodes exist in each
of potentially 3 file systems. The default tests that idspace performs
are as follows:
1) Verify that the root file system (/) has 400 blocks more than the
size of the current /unix. This verifies that a device driver being
added to the current /unix can be built and placed in the root
directory. A check is also made to insure that 100 inodes exist in
the root directory.
2) Determine whether a /usr file system exists. If it does exist, a
test is made that 400 free blocks and 100 inodes are available in
that file system. If the file system does not exist, idspace does
not complain since files created in /usr by the reconfiguration
process will be created in the root file system and space require-
ments are covered by the test in 1) above.
3) Determine whether a /tmp file system exists. If it does exist, a
test is made that 400 free blocks and 100 inodes are available in
that file system. If the file system does not exist, idspace does
not complain since files created in /tmp by the reconfiguration
process will be created in the root file system and space require-
ments are covered by the test in 1) above.
OPTIONS
-i inodes This option overrides the default test for 100 inode in
all of the idspace checks.
-r blocks This option overrides the default test for /unix size +
400 blocks when checking the root (/) file system. When
the -r option is used, the /usr and /tmp file systems are
not tested unless explicitly specified.
-u blocks This option overrides the default test for 400 blocks
when checking the /usr file system. When the -u option is
used, the root (/) and /tmp file systems are not tested
unless explicitly specified. If /usr is not a separate
file system, an error is reported.
-t blocks This option overrides the default test for 400 blocks
when checking the /tmp file system. When the -t option is
used, the root (/) and /usr file systems are not tested
unless explicitly specified. If /tmp is not a separate
file system, an error is reported.
Page 1 Reliant UNIX 5.44 Printed 11/98
idspace(1M) idspace(1M)
DIAGNOSTICS
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 will report a message. All error messages are designed
to be self-explanatory. The specific exit values are as follows:
0 = Success.
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).
SEE ALSO
idbuild(1M), idinstall(1M).
Page 2 Reliant UNIX 5.44 Printed 11/98