First page Back Continue Last page Overview Graphics
util-linux
You should exercise EXTREME caution when replacing utilities that are required for booting your system.
To patch and build:
(under Debian: apt-get zlib1g-dev as a prerequisite)
cd /usr/src/util-linux-2.12/
patch -p1 < /usr/src/loop-AES-2.0d/util-linux-2.12.diff
export CFLAGS=-O2
./configure
make SUBDIRS="lib mount"
If it compiles correctly, install it like so (perhaps make a backup first, eh?):
(under Debian you need to put the mount package on hold like so: echo mount hold | dpkg –set-selections )
cd mount
install -m 4755 -o root mount umount /bin
install -m 755 losetup swapon /sbin
rm -f /sbin/swapoff && ( cd /sbin && ln -s swapon swapoff )
rm -f /usr/share/man/man8/{mount,umount,losetup,swapon,swapoff}.8.gz
install -m 644 mount.8 umount.8 losetup.8 /usr/share/man/man8
install -m 644 swapon.8 swapoff.8 /usr/share/man/man8
rm -f /usr/share/man/man5/fstab.5.gz
install -m 644 fstab.5 /usr/share/man/man5
mandb
Notes: