!Important!: SMP systems are currently not working properly

You must be root for the following steps!

There are two ways building and installing mergemem after unpacking
the sources, the easy way and the hacker way ;-)

+- ---- --  --
| The easy way:
+---- -- ---- -- --

   1. Type "./Install" in the directory were you unpacked mergemem.
      The script will patch your kernel, create a new device file,
      compile and install the mergemem daemon and module.
   2. "cd /usr/src/linux"
   3. "make menuconfig"
   4. Make sure the item 
      "Character devices ---> [X] Support for user misc device modules"
      is checked
   5. Recompile/install the patched kernel
   6. Reboot

      Voila
   
+- ---- --  --   -
| The hacker way:
+--  ---- -- --  ---

   1. You need to patch the kernel:

      % cd /usr/src/linux/kernel
      % patch </mergememdirectory/linux_2Xxx_ksyms.patch

   2. "make menuconfig"
   3. Make sure the item 
      "Character devices ---> [X] Support for user misc device modules"
      is checked
   4. Recompile/install patched kernel
   5. You need to create a new device file:
      
      % mknod /dev/mergemem c 10 153

   6. Now build the mergemem daemon and module:

      % cd /mergememdirectory/
      % make
      % make install

   7. Reboot

      Voila

+-- -- --  ---   -
| First test:
+---- --  ---  -----

   1. "insmod mergemod"
   2. Now you could try "mergemem". After that type "cat /proc/mergemem"
      to see what you have saved.
   3. Edit /etc/mergemem.cfg
   4. "mergemem -d"


+---- -- -- - -- - - - -- - - - -
| Automatic loading with kerneld:
+-  - - --- -- - -   --  ----- - - - -- -

   1. insert the line
      "char-major-10-153 mergemod"
      into /etc/conf.modules
   2. "/sbin/depmod -a"
