Welcome to the Reiser4 Wiki, the Wiki for users and developers of the ReiserFS and Reiser4 filesystems.

For now, most of the documentation is just a snapshot of the old Namesys site (archive.org, 2007-09-29).

There was also a Reiser4 Wiki (archive.org, 2007-07-06) once on pub.namesys.com.

Reiserfsprogs

From Reiser4 FS Wiki
(Difference between revisions)
Jump to: navigation, search
(use $VER so we only have to update this variable and then copy & paste the rest)
(Re: [blfs-dev] Reiserfs build error / https://www.mail-archive.com/blfs-dev@lists.linuxfromscratch.org/msg03341.html)
Line 21: Line 21:
 
Build & install:
 
Build & install:
  
  ./configure --prefix=/opt/reiserfsprogs && make
+
  ./configure --prefix=/opt/reiserfsprogs && make                 # Prefix with ''CFLAGS="$CFLAGS -std=gnu89"'' for [http://wiki.linuxfromscratch.org/blfs/changeset/16320#file4 GCC-5]
 
  sudo make install
 
  sudo make install
  

Revision as of 23:47, 30 August 2015

The tools to maintain a ReiserFS (Reiser v3) filesystem are called reiserfsprogs and should be shipped by most distributions. If it doesn't, we have to build it manually.

Install prerequisites:

sudo apt-get install uuid-dev            # Debian, Ubuntu
sudo yum install libuuid-devel           # Fedora
sudo zypper install libuuid-devel        # openSUSE

Get source:

VER=3.6.24
wget https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$VER/reiserfsprogs-$VER.tar.{sign,xz}
xz -d reiserfsprogs-$VER.tar.xz

gpg --recv-keys 2179E5B2
gpg --verify reiserfsprogs-$VER.tar.sign

tar -xf reiserfsprogs-$VER.tar
cd reiserfsprogs-$VER

Build & install:

./configure --prefix=/opt/reiserfsprogs && make                 # Prefix with CFLAGS="$CFLAGS -std=gnu89" for GCC-5
sudo make install

Or, from the Git tree:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeffm/reiserfsprogs.git reiserfsprogs-git
cd reiserfsprogs-git
libtoolize --copy --install --force && aclocal && autoheader && autoconf && automake --add-missing

./configure --prefix=/opt/reiserfsprogs && make
sudo make install
Personal tools