Estimated build time: 1 minute Estimated required disk space: 9 MB |
The FHS recommends that we use /var/lib/hwclock as the location of the adjtime file, instead of the usual /etc. To make hwclock, which is part of the util-linux package, FHS-compliant, run the following.
cp hwclock/hwclock.c hwclock/hwclock.c.backup && sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \ ���hwclock/hwclock.c.backup > hwclock/hwclock.c && mkdir -p /var/lib/hwclock |
Install Util-Linux by running the following commands:
./configure && make HAVE_SLN=yes && make HAVE_SLN=yes install |
HAVE_SLN=yes: We don't build this program because it already was installed by Glibc.
agetty, arch, blockdev, cal, cfdisk, chkdupexe, col, colcrt, colrm, column, ctrlaltdel, cytune, ddate, dmesg, elvtune, fdformat, fdisk, fsck.minix, getopt, hexdump, hwclock, ipcrm, ipcs, isosize kill, line, logger, look, losetup, mcookie, mkfs, mkfs.bfs, mkfs.minix, mkswap, more, mount, namei, 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, tunelp, ul, umount, vidmode, whereis and write
agetty opens a tty port, prompts for a login name and invokes the /bin/login command.
arch prints the machine architecture.
blockdev allows to call block device ioctls from the command line
cal displays a simple calender.
cfdisk is an libncurses based disk partition table manipulator.
chkdupexe finds duplicate executables.
col filters reverse line feeds from input.
colcrt filters nroff output for CRT previewing.
colrm removes columns from a file.
column columnates lists.
ctrlaltdel sets the function of the CTRL+ALT+DEL key combination (hard or soft reset).
cytune queries and modifies the interruption threshold for the Cyclades driver.
ddate converts Gregorian dates to Discordian dates.
dmesg is used to examine or control the kernel ring buffer (boot messages from the kernel).
elvtune allows to tune the I/O elevator per block device queue basis.
fdformat low-level formats a floppy disk.
fdisk is a disk partition table manipulator.
fsck.minix performs a consistency check for the Linux MINIX filesystem.
getops parses command options the same way as the getopt C command.
hexdump displays specified files, or standard input, in a user specified format (ascii, decimal, hexadecimal, octal).
hwclock queries and sets the hardware clock (Also called the RTC or BIOS clock).
ipcrm removes a specified resource.
ipcs provides information on IPC facilities.
isosize outputs the length of a iso9660 file system.
kill sends a specified signal to the specified process.
line copies one line (up to a newline) from standard input and writes it to standard output.
logger makes entries in the system log.
look displays lines beginning with a given string.
losetup sets up and controls loop devices.
mcookie generates magic cookies for xauth.
mkfs builds a Linux filesystem on a device, usually a harddisk partition.
mkfs.bfs creates a SCO bfs file system on a device, usually a harddisk partition.
mkfs.minix creates a Linux MINIX filesystem on a device, usually a harddisk partition.
mkswap sets up a Linux swap area on a device or in a file.
more is a filter for paging through text one screen full at a time.
mount mounts a filesystem from a device to a directory (mount point).
namei follows a pathname until a terminal point is found.
pivot_root moves the root file system of the current process.
ramsize queries and sets RAM disk size.
raw is used to bind a Linux raw character device to a block device.
rdev queries and sets image root device, swap device, RAM disk size, or video mode.
readprofile reads kernel profiling information.
rename renames files.
renice alters priority of running processes.
rev reverses lines of a file.
rootflags queries and sets extra information used when mounting root.
script makes typescript of terminal session.
setfdprm sets user-provides floppy disk parameters.
setsid runs programs in a new session.
setterm sets terminal attributes.
sfdisk is a disk partition table manipulator.
swapoff disables devices and files for paging and swapping.
swapon enables devices and files for paging and swapping.
tunelp sets various parameters for the LP device.
ul reads a file and translates occurrences of underscores to the sequence which indicates underlining for the terminal in use.
umount unmounts a mounted filesystem.
vidmode queries and sets the video mode.
whereis locates a binary, source and manual page for a command.
write sends a message to another user.
Util-linux-2.11n needs the following to be installed:
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