How to add reiser-fs support to Slackware 7
Written By: Blackknight
Introduction
Reiserfs is a new Linux journaling file system developed by Hans Reiser
and his team of developers. The advantage of a journaling file system is
that a crash is less likely to corrupt the hard drive and a recovery is
thousands of time faster. Journaling file systems are the de-facto
standard in high end Unix boxes (Solaris, AIX, SGI, etc.) Recently, they
started to appear for Linux as well. SGI and IBM released the source code
for their journaled file system. In the reiserfs web site, they publish
benchmarks that show that reiserfs is also faster then ext2.
--note: Avi S.
Installation
Download the reiser-fs patch from http://www.devlinux.com/namesys.
Make sure you download the version that matches your kernel
version.
Once you download the patch you need to apply it as root. Cd to
/usr/src/linux and issue the following commands.
gunzip /path/to/linux-2.2.16-reiserfs-3.5.22-patch.gz
patch -p1 -i /path/to/linux-2.2.16-reiserfs-3.5.22-patch
After you do that you must compile reiser-fs into the kernel or as a
module. See the kernel
compilation NHF if you don't know how to do this.
The reiser-fs utilities are in the /usr/src/linux/fs/reiserfs/utils
directory. You can install them as follows:
mkdir bin
make
make install
Once everything is installed create your partitions with fdisk or you can
reformat an existing partition. mkreiserfs is the program you need.
Mount the partitions as usual, using reiserfs for the fs type.
For example, "mount -t reiserfs /dev/hda1 /mp3"
|