Re: Defragmentation Utility

Marko Sepp (sepp.marko@hkol.fi)
Wed, 18 Dec 1996 13:02:05 +0200 (GFT Standard Time)


At 02.56 18.12.1996 -0600, you wrote:
>> At 15.55 16.12.1996 -0800, you wrote:
>>

>I can't rebuild defrag-0.6 under 2.1.13, make dies with:
>defrag.c:421: `EXT2_FIRST_INO' undeclared (first use this function)
>(among another copy of that error and some warnings)
>
>I wouldn't trust defrag to work at all under a kernel version you
>can't compile it under.

I'm only talking about my experiences with 1.2.13 kernel, NOT 2.0.0 --->

...so the kernel verion was not the problem at all.


>
> Keith (the others don't build for me because of my old ncurses.h)
>
>

If you want to build it, put the kernel 1.2.13 sources
to /usr/src/old.linux or whatever and rename current kernel
directory /usr/src/linux to /usr/src/current.linux. Now you can
change the kernel with which the defrag is compiled by making a
symbolic link: ln -s /usr/src/old.linux /usr/src/linux

Running kernel can be changed temporarily by simply replacing /vmlinuz (your
kernel image) and /boot/System.map with the ones of older kernel. After
that run "lilo" if you have LILO installed.

Marko