idspace(1M)


idspace -- determine if there is enough filesystem 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 filesystems: / and, if they exist, /usr, and /tmp.

The default tests performed by idspace are:

Options

idspace takes the following options:

-i inodes
Override the default test for 100 inodes for all three of the idspace filesystem 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 (/) filesystem, and test for the specified number of blocks instead. When the -r option is used, the /usr and /tmp filesystems are not tested.

-u blocks
Override the default test for 400 blocks when checking the /usr filesystem, and test for the specified number of blocks instead. When the -u option is used, the root (/) and /tmp filesystems are not tested. If /usr is not a separate filesystem, an error is reported.

-t blocks
Override the default test for 400 blocks when checking the /tmp filesystem, and test for the specified number of blocks instead. When the -t option is used, the root (/) and /usr filesystems are not tested. If /tmp is not a separate filesystem, an error is reported.

Exit codes

An exit value of zero indicates success. If insufficient space exists in a filesystem 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
filesystem has insufficient space or inodes

3
requested filesystem does not exist (-u and -t options only)

References

idbuild(1M), idinstall(1M)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004