From owner-freebsd-stable@FreeBSD.ORG Thu Dec 6 07:00:39 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D98439E for ; Thu, 6 Dec 2012 07:00:39 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by mx1.freebsd.org (Postfix) with ESMTP id EE6E98FC0C for ; Thu, 6 Dec 2012 07:00:38 +0000 (UTC) Received: by mail-vb0-f45.google.com with SMTP id p1so6057052vbi.18 for ; Wed, 05 Dec 2012 23:00:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=E+H+WyRoMmJxEUEPg1bACMNmpInTXAsUtTdJQVxySQE=; b=JSL3RdS2j97w+WFh3M2h5Q09cuWfkhlanGPXyKwr9f+nZjF2f7T9RMGrUrEXi7U9Uu 9BmU+L1rW2PTssPF6DrbUHUgltmJS/4vd+kPJg5ylyA5b6g3zLS4hbzae9LMtCjMx7Iw c7gDPqFGojyv689CURJcNMN2Ha/SOfC+MdxbStbBJo1biC2gohwMadTjo2uvKofPKJu6 j8MflS4q1SRx1bWUrjnnPulCNmwEuQKDpK4cCGH6AgxP/UQlmeklnaDl4VUrsJ/0v4Kh Quz3LUTqsX5IqPoTFraeCmehUc8oxy5bL/YpCKFIEInBF3bSrwCzqgLezOUkTaO1nWu1 ovdA== MIME-Version: 1.0 Received: by 10.52.36.100 with SMTP id p4mr318897vdj.16.1354777237726; Wed, 05 Dec 2012 23:00:37 -0800 (PST) Received: by 10.58.213.134 with HTTP; Wed, 5 Dec 2012 23:00:37 -0800 (PST) Date: Thu, 6 Dec 2012 09:00:37 +0200 Message-ID: Subject: 9.1-RC3 fusefs-encfs problem ( ls: b: Bad file descriptor ) From: =?ISO-8859-1?Q?=D6zkan_KIRIK?= To: freebsd-stable Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 07:00:39 -0000 Hi, I just installed fusefs-encfs from ports. There is something wrong while mounting the fuse. The output : root@host # kldstat Id Refs Address Size Name 1 3 0xffffffff80200000 13e0d58 kernel 2 1 0xffffffff81812000 a9bb fuse.ko root@host # encfs `pwd`/a `pwd`/b The directory "/usr/home/sysadmin/a/" does not exist. Should it be created? (y,n) y The directory "/usr/home/sysadmin/b" does not exist. Should it be created? (y,n) y Creating new encrypted volume. Please choose from one of the following options: enter "x" for expert configuration mode, enter "p" for pre-configured paranoia mode, anything else, or an empty line will select standard mode. ?> Standard configuration selected. Configuration finished. The filesystem to be created has the following properties: Filesystem cipher: "ssl/aes", version 3:0:2 Filename encoding: "nameio/block", version 3:0:1 Key Size: 192 bits Block Size: 1024 bytes Each file contains 8 byte header with unique IV data. Filenames encoded using IV chaining mode. File holes passed through to ciphertext. Now you will need to enter a password for your filesystem. You will need to remember this password, as there is absolutely no recovery mechanism. However, the password can be changed later using encfsctl. New Encfs Password: Verify Encfs Password: root@host # root@host # mount /dev/ada0p2 on / (ufs, local, journaled soft-updates) devfs on /dev (devfs, local, multilabel) /dev/fuse0 on /usr/home/b (fusefs, local, synchronous) root@host # cd b b: Not a directory. root@host # ls b ls: b: Bad file descriptor root@host # umount b umount: b: stat: Bad file descriptor umount: b: unknown file system root@host # umount /usr/home/b -> has no errors. I tried this on two different machines with 9.1-RC3 amd64. How can we solve this problem? Sincerely, Ozkan KIRIK