Next: ReiserFSv4, Previous: XFS, Up: Filesystems support [Contents]
Support: using the library from reiserfsprogs, but that library is not a part of any official development package.
Compiling requirements:
If you’re having trouble compiling, try to apply the patch first: ‘patch -F10 -p1 < /path/to/wipefreespace-XX/patches/reiser-3.6.XX-compile-fix.diff’
WARNING: If both ReiserFSv3 and ReiserFSv4 are enabled, the program may
refuse to link if the compiler doesn’t support the command line option
-Wl,-z -Wl,muldefs that makes the linker accept multiple symbol definitions. If
you have this problem, disable the support for either of these filesystems
(you can compile two versions of the program).
Don’t complain to me, complain to the guys that made reiserfsprogs and
reiser4progs.
You can fix either of these libraries yourself, by running
‘find . -type f -exec sed -i 's/misc_mntent/new_misc_mntent/g' '{}' \;’
in the root directory of either reiserfsprogs or reiser4progs (but NOT both, because this would bring back the same problem, but with a different name). Type the command as above, just without the leading and trailing apostrophes. The command must be run BEFORE compiling the reiserfs programs. You can use the provided patches to do this:
‘patch -F10 -p1 < /path/to/wipefreespace-XX/patches/reiser-3.6.XX.diff’
‘patch -F10 -p1 < /path/to/wipefreespace-XX/patches/reiser4-1.0.7.diff’
WARNING: If both ReiserFSv3 and MinixFS are enabled, the program
may refuse to link if the compiler doesn’t support the command line option
-Wl,-z -Wl,muldefs that makes the linker accept multiple symbol
definitions. If you have this problem, disable the support for either
of these filesystems (you can compile two versions of the program).
You can fix either of these libraries yourself, by running
‘find . -type f -exec sed -i 's/die/new_die/g' '{}' \;’
in the root directory of either reiserfsprogs or mfstool (but NOT both, because this would bring back the same problem, but with a different name). Type the command as above. The command must be run BEFORE compiling reiserfs/mfstool. You can use the provided patches to do this:
‘patch -F10 -p1 < /path/to/wipefreespace-XX/patches/mfstool-0.5.diff’
‘patch -F10 -p1 < /path/to/wipefreespace-XX/patches/reiser-3.6.XX.diff’
WARNING: If both ReiserFSv3 and JFS are enabled, you MUST either disable the support for either of these filesystems (you can compile two versions of the program) or fix the ReiserFSv3 library yourself, by running
‘find . -type f -exec sed -i 's/bread/reiser3_new_bread/g' '{}' \;’
in the root directory of reiserfsprogs. Type the command as above. The command must be run BEFORE compiling reiserfs/jfsutils. You can use the provided patches to do this:
‘patch -F10 -p1 < /path/to/wipefreespace-XX/patches/reiser-3.6.XX.diff’
Even if your linker/compiler accepts the -Wl,-z -Wl,muldefs option, it won’t help in this case.
Operations:
Next: ReiserFSv4, Previous: XFS, Up: Filesystems support [Contents]