From owner-freebsd-questions@FreeBSD.ORG Fri Aug 31 21:33:38 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 039A016A41B for ; Fri, 31 Aug 2007 21:33:38 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (66-230-99-27-cdsl-rb1.nwc.acsalaska.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id C980913C4A8 for ; Fri, 31 Aug 2007 21:33:32 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 0A2C11CC38 for ; Fri, 31 Aug 2007 13:33:31 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 31 Aug 2007 23:33:30 +0200 User-Agent: KMail/1.9.7 References: <46D87B39.70706@shopzeus.com> <200708312251.07148.fbsd.questions@rachie.is-a-geek.net> <46D8838D.5010902@shopzeus.com> In-Reply-To: <46D8838D.5010902@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708312333.30807.fbsd.questions@rachie.is-a-geek.net> Subject: Re: sshfs - fuse: failed to open fuse device: No such file or directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2007 21:33:38 -0000 On Friday 31 August 2007 23:09:33 Laszlo Nagy wrote: > neptunus# sshfs fileshare@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 > This is interesting. Now I have a special node called "pub" in that > directory and I cannot delete it. What is wrong? :-) Looks like your mount point didn't exist before connecting. No idea how to get rid of that bad descriptor - but if you: mkidr /usr/fileshare/mnt sshfs fileshare@fileshare:/usr/fileshare/pub /usr/fileshare/mnt (assuming /usr/fileshare/pub is a directory on server fileshare) things should work correctly. I do hope fileshare isn't the local machine, cause then you're mounting the directory on itself using ssh/fuse......eew, messy. -- Mel