From owner-freebsd-emulation@FreeBSD.ORG Sat Sep 11 19:06:28 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 83938106564A for ; Sat, 11 Sep 2010 19:06:28 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4768FC12 for ; Sat, 11 Sep 2010 19:06:27 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o8BJ6OGQ062694; Sat, 11 Sep 2010 13:06:24 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o8BJ6OBq062691; Sat, 11 Sep 2010 13:06:24 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 11 Sep 2010 13:06:24 -0600 (MDT) From: Warren Block To: Juergen Lock In-Reply-To: <20100911184519.GA2100@triton8.kn-bremen.de> Message-ID: References: <20100706032057.GA15827@stlux503.dsto.defence.gov.au> <201009022024.o82KOVni007042@triton8.kn-bremen.de> <20100911184519.GA2100@triton8.kn-bremen.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sat, 11 Sep 2010 13:06:24 -0600 (MDT) Cc: freebsd-emulation@freebsd.org 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: Sat, 11 Sep 2010 19:06:28 -0000 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.