SHFS: Frequenty asked questions

Warning: This is beta quality code. It was not tested on SMP machine. Backup data before playing with it!

FAQ

What is the licence for this program?

GNU GPL.

Module does not compile

Compiler complains:
In file included from dcache.c:2:
/usr/src/linux/include/linux/module.h:19: linux/modversions.h: No such file or directory

You have no modversions.h file in /usr/src/include/linux. This file is created by "make dep" after configuring the kernel with modules version support. You may either change the default include directory (-I option in shfs/Makefile) or comment MODVERSIONS=yes in main Makefile.

Cannot insert module

Insmod/modprobe complains:
shfs.o: unresolved symbol ...

The shfs.o module was compiled for incompatible kernel. Recompile the module and try insmod again.

Writing to remote file is very slow. Why?

You are probably connecting to some non-linux host. See internal docs for more info on this topic.

Is ssh/rsh needed?

Yes and no. More exactly, shfs module can use any shell connection (it will use one pipe for reading and another one for writing data and commands). Actually, shfsmount doesn't know any other program except ssh/rsh.

Why is used '%' char instad od '@' in amd automounter path?

Don't know why, but amd automounter consider '%' as invalid character.

Is it possible to allow ordinary users to mount shfs shares?

Yes, though it is not enabled by default. Just set suid (chmod u+s) attribute on /usr/bin/shfsmount and /usr/bin/shfsumount.

I get the message "shfsmount: Operation not permitted"

See Question "Is it possible to allow ordinary users to mount shfs shares?"

Module is not working correctly. I want this great feature.

Try to find what is wrong and send me e-mail (with diff -u patches ;-))
Some hints: turn on debugging (in Makefile, set DEBUG=3) and recompile module. This will i generate (a lot of!) kernel debugging messages. I am sorry if I am unable to repond in time.

--
<qiq@atrey.karlin.mff.cuni.cz>