sshfs - fuse: failed to open fuse device: No such file or directory

Laszlo Nagy gandalf at shopzeus.com
Fri Aug 31 14:12:51 PDT 2007


> Make sure your dependencies are correct:
> $ ls /var/db/pkg|grep fuse
> fusefs-kmod-0.3.9.p1 <<<<
> fusefs-libs-2.7.0_1
> fusefs-sshfs-1.8
>   
Same here. :-)
> It should have been installed automatically. Not sure why it didn't.
>   
My mistake. I did not add "fusefs_enable=YES" to rc.conf, because I 
installed fusefs-sshfs from the ports tree. The ports system installed 
fusefs-kmod as a dependency for me, and of course I could not read the 
instructions at the end of the installation. In fact I did not even know 
that there is separate package for this. (What a pity that sshfs has no 
manual.)

After starting the daemon, I get this error:

neptunus# kldstat
Id Refs Address    Size     Name
 1    7 0xc0400000 77e068   kernel
 2    1 0xc0b7f000 15a60    geom_mirror.ko
 3    1 0xc0b95000 6810     snd_via8233.ko
 4    2 0xc0b9c000 25828    sound.ko
 5    1 0xd0683000 3000     daemon_saver.ko
 6    1 0xd2ffb000 e000     fuse.ko
neptunus# sshfs fileshare at fileshare:/usr/fileshare/pub /usr/fileshare/pub
fuse: bad mount point `/usr/fileshare/pub': Bad file descriptor
neptunus# ls -l /usr/fileshare/
ls: pub: Bad file descriptor
total 22
-rw-r--r--  1 fileshare  fileshare  767 Aug 30 19:41 .cshrc
-rw-------  1 fileshare  fileshare  214 Aug 30 20:12 .history
-rw-r--r--  1 fileshare  fileshare  248 Aug 30 19:41 .login
-rw-r--r--  1 fileshare  fileshare  158 Aug 30 19:41 .login_conf
-rw-------  1 fileshare  fileshare  373 Aug 30 19:41 .mail_aliases
-rw-r--r--  1 fileshare  fileshare  331 Aug 30 19:41 .mailrc
-rw-r--r--  1 fileshare  fileshare  797 Aug 30 19:41 .profile
-rw-------  1 fileshare  fileshare  276 Aug 30 19:41 .rhosts
-rw-r--r--  1 fileshare  fileshare  975 Aug 30 19:41 .shrc
drwx------  2 fileshare  fileshare  512 Aug 30 19:43 .ssh
neptunus#

This is interesting. Now I have a special node called "pub" in that 
directory and I cannot delete it. What is wrong? :-)

Thanks,

   Laszlo



More information about the freebsd-questions mailing list