From owner-freebsd-emulation@FreeBSD.ORG Mon Sep 13 21:18:49 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55FBE106564A for ; Mon, 13 Sep 2010 21:18:49 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 102318FC1B for ; Mon, 13 Sep 2010 21:18:48 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 211141E008E6; Mon, 13 Sep 2010 23:18:48 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id o8DLE3UC049888; Mon, 13 Sep 2010 23:14:03 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id o8DLE14M049887; Mon, 13 Sep 2010 23:14:01 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 13 Sep 2010 23:14:01 +0200 To: Warren Block Message-ID: <20100913211401.GA49701@triton8.kn-bremen.de> References: <20100706032057.GA15827@stlux503.dsto.defence.gov.au> <201009022024.o82KOVni007042@triton8.kn-bremen.de> <20100911184519.GA2100@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-emulation@freebsd.org, Juergen Lock Subject: Re: CFT: vdfuse port (was: Re: Mounting VirtualBox vdi files [SEC=UNCLASSIFIED]) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2010 21:18:49 -0000 On Sat, Sep 11, 2010 at 01:06:24PM -0600, Warren Block wrote: > On Sat, 11 Sep 2010, Juergen Lock wrote: > > > On Wed, Sep 08, 2010 at 07:44:37PM -0600, Warren Block wrote: > >> On Thu, 2 Sep 2010, Juergen Lock wrote: > >> > >>> ...there is a much simpler fusefs tool in debian called vdfuse that I > >>> now finally made a port of. I don't know how stable this is on > >>> FreeBSD or if there still may be bugs, so please give this a good test > >>> and post your results here. Here's a simple example: > >>> > >>> # vdfuse -r -f ~nox/.VirtualBox/HardDisks/win7-64.vdi /mnt > >>> # mdconfig -a -f /mnt/Partition2 -o readonly > >>> md0 > >>> # mount -o ro -t ntfs /dev/md0 /mnt2 > >>> # ls -l /mnt2 > >>> ... > >>> # umount /mnt2 > >>> # mdconfig -d -u 0 > >>> # umount /mnt > >> > >> It works for a .vdi of a UFS drive. The BSD partitions show up on the > >> md0 device (md0a, etc). Just a trivial test, but looks promising! > > > > Yep, those kind of tests worked for me too, I just wasn't sure if it > > also survives `heavy use', i.e. reading/writing/using files much on > > the mounted fs.es... > > Dumping the partitions of that FreeBSD system worked just now. Not what > I'd call a thorough test, but it did read everything in the filesystem > without problems. Ok that sounds promising... Someone want to do more tests or should I just commit the port? :) Thanx, Juergen