Hint: Reiser4 on 2.6

Wee Teck stelgn at gmail.com
Sat Aug 6 02:56:56 PDT 2005


AUTHOR: Wee Teck <stelgn at gmail.com>

DATE: 2005-08-06

LICENSE: GNU Free Documentation License Version 1.2

SYNOPSIS: Reiser4 FS support for 2.6 Kernel

DESCRIPTION:
How to include the new reiser4 on LFS system.

ATTACHMENTS:
ftp://ftp.namesys.com/pub/reiser4-for-2.6/
ftp://ftp.namesys.com/pub/reiser4progs/

PREREQUISITES:
Uuid must be installed (Included in e2fsprogs)
libaal

HINT:
-> Refer to LFS if you haven't had e2fsprogs installed
    (You need Uuid that comes with it)
    
-> Installing Libaal
        Get the latest libaal from reiser4progs folder
        Build process:
        
        tar zxf libaal-1.x.x.tar.gz
        cd libaal-*
        ./configure --prefix=/usr && make && make install
        
-> Installing Reiser4progs
        Get the latest reiser4progs
        Bulid process:
        
        tar zxf reiser4progs-1.x.x.tar.gz
        cd reiser4progs-*
        ./configure --prefix=/usr --sbindir=/sbin  &&
        make &&
        make install
        
-> Patching 2.6 Kernel
        **Assuming you have the latest kernel source**
        cd /usr/src/linux-2.6.x
        Get the latest reiser4 patch
        gunzip -c reiser4-for-2.6* | patch -p1
        
        Configure the kernel config with the following addtional features:
            [Enable] Prompt for development and/or incomplete code/drivers
            [Enable] Deflate compression algorithm
            [Disable] Use 4Kb for kernel stacks instead of 8Kb
            [Enable] Reiser4
            
        Build the kernel
        
-> Formating a Reiser4 partition

        mkfs.reiser4 /dev/<device> (Replace with proper device/partition)
        
        
-> Mounting a Reiser4 partition
        mount -t reiser4 /dev/<device> <mounting point>
        
        
That's all! You have the fastest filesystem on your LFS
        
        
FAQ:
Q: Where to find "Deflate compression algorithm"
A:     [Cryptographic options]
            [Cryptographic API]
                -[Deflate compression algorithm]

Q: I cannot find Reiser4 option
A: Ensure the 3 options are correctly set.


ACKNOWLEDGEMENTS:
    * This is my first hint ^^v


CHANGELOG:
[2005-08-06]
  * Initial hint.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxfromscratch.org/pipermail/hints/attachments/20050806/ef7a3b10/attachment.sig>


More information about the hints mailing list