5.30. Util-linux-2.12r

The Util-linux package contains miscellaneous utility programs. Among them are utilities for handling file systems, consoles, partitions, and messages.

Approximate build time: less than 0.1 SBU
Required disk space: 8.9 MB

5.30.1. Installation of Util-linux

Util-linux does not use the freshly installed headers and libraries from the /tools directory by default. This is fixed by altering the configure script:

sed -i 's@/usr/include@/tools/include@g' configure

Prepare Util-linux for compilation:

./configure

Compile some support routines:

make -C lib

Only a few of the utilities contained in this package need to be built:

make -C mount mount umount
make -C text-utils more

This package does not come with a test suite.

Copy these programs to the temporary tools directory:

cp mount/{,u}mount text-utils/more /tools/bin

Details on this package are located in Section 6.56.3, “Contents of Util-linux.”