Details on this package are located in Section 6.57.3, “Contents of Util-linux-ng.”
The Util-linux-ng package contains miscellaneous utility programs. Among them are utilities for handling file systems, consoles, partitions, and messages.
Prepare Util-linux-ng for compilation:
./configure --prefix=/tools
Only a few of the utilities contained in this package need to be built:
make BLKID_LIBS="-lblkid -luuid" -C mount mount umount make -C text-utils more
The meaning of the make parameter:
BLKID_LIBS="-lblkid
-luuid"
When building only a subset of the package, the libuuid.a
library is not pulled into the
build as it is supposed to. This command overrides the
default from the Makefile
.
This package does not come with a test suite.
Copy these programs to the temporary tools directory:
cp -v mount/{,u}mount text-utils/more /tools/bin
Details on this package are located in Section 6.57.3, “Contents of Util-linux-ng.”