Installation hints (not instructions yet..)

As told in the file userfs.README.mm, which is for userfs, the kernel
has to be patched. The file userfs.diff contains patches agains 1.1.9
or so. Because there are so many kernel patchlevels, here is what
happens:

 o In linux/config.in a line is added, to select the userfs-specific
   code:

         bool 'User process filesystem support' CONFIG_USERFS_FS y

   you should place it below the question for system v support.

 o The only reason for the patch is that userfs needs some more kernel
   symbols in the symtab than plain 1.1.9 offers in linux/kernel/ksyms.c
   These are the symbols needed:

   __wait_on_super, close_fp, open_namei, sleep_on and clear_inode.

   The rest of userfs.diff applies to linux/kernel/ksyms.c. You should
   look at the existing table and decide which symbols are still needed.

Doing this by hand is really not hard, and I do not think that you can
do much harm to the kernel. 

Now recompile the kernel and reboot with the new kernel. I think you
must do a make config before, to get the configuration right.

Now, type make at the top dir of smbfs. On my computer, it compiles
"out of the box", if you have difficulties, tell me.

What do we have now?

  - kernel/src/userfs.o

    This is the kernel module you must load with the modutils or with
    other applicable tools. I think with newer kernels this might have
    changed (I use 1.1.13). 

  - muserfs/muserfs

    This is the mount command. It must be suid root, because the mount
    system call requires root privileges. You must login as root and
    then:
       
      chown root.bin muserfs
      chmod u+s muserfs

  - smbfs/smbfs

    This is the client of userfs that connects to your wfw-computer. 
    Do the mount with:
 
        muserfs smbfs mount-point host service [passwd] [port]

    (with paths etc.. set right)

muserfs doesn't return to the command line, because you would not be
able to unmount the drive as a normal user. So it gives you a chance
to unmount by typing control-c. When you are root and want to make a
permanent mount, you can give the -a switch.

So, have fun and tell me about it!
