Installing Util-linux-2.11y

Estimated build time:           0.38 SBU
Estimated required disk space:  10 MB

Contents of Util-linux

Last checked against version 2.11t.

The Util-linux package contains a number of miscellaneous utility programs. Some of the more prominent utilities are used to mount, unmount, format, partition and manage disk drives, open tty ports and fetch kernel messages.

Util-linux installs the following:

Program Files

agetty, arch, blockdev, cal, cfdisk, chkdupexe, col, colcrt, colrm, column, ctrlaltdel, cytune, ddate, dmesg, elvtune, fdformat, fdisk, fsck.cramfs, fsck.minix, getopt, hexdump, hwclock, ipcrm, ipcs, isosize, line, logger, look, losetup, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, parse.bash, parse.tcsh, pg, pivot_root, ramsize (link to rdev), raw, rdev, readprofile, rename, renice, rev, rootflags (link to rdev), script, setfdprm, setsid, setterm, sfdisk, swapoff (link to swapon), swapon, test.bash, test.tcsh, tunelp, ul, umount, vidmode (link to rdev), whereis and write

 

Util-linux Installation Dependencies

Last checked against version 2.11n.

Bash: sh
Binutils: as, ld
Diffutils: cmp
Fileutils: chgrp, chmod, cp, install, ln, mv, rm
Gettext: msgfmt, xgettext
Gcc: cc, cc1, collect2, cpp, cpp0
Glibc: rpcgen
Grep: grep
Make: make
Sed: sed
Sh-utils: uname, whoami
Textutils: cat

 

FHS compliance notes

The FHS recommends that we use /var/lib/hwclock, instead of the usual /etc, as the location of the adjtime file. To make hwclock FHS-compliant, run the following:

cp hwclock/hwclock.c{,.backup} &&
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
    hwclock/hwclock.c.backup > hwclock/hwclock.c &&
mkdir -p /var/lib/hwclock

Installation of Util-linux

Prepare Util-linux to be compiled:

./configure

Continue with compiling the package:

make HAVE_SLN=yes

The HAVE_SLN option prevents this package, which was already was installed by Glibc, from being built again.

Finish installing the package:

make HAVE_SLN=yes install