From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 15 01:38:04 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 01F84106566B for ; Wed, 15 Sep 2010 01:38:04 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8431E8FC18 for ; Wed, 15 Sep 2010 01:38:03 +0000 (UTC) Received: by wwb18 with SMTP id 18so466530wwb.31 for ; Tue, 14 Sep 2010 18:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NA6dbfaXQbLA32Qae5A5v/4KQV72wdVI9xginDnBOE8=; b=Tf4EZ4WauPG713LRpyDoh2Z5mPWG+LX8+mSqOKNWkWcsDuyQyydjJUevLMSK+PRc2Y ps6Y/CZlbWemciK9Qbl7rA/oPVc94zV6UEZkUlaUbwcbLzIoIA0dkuh5IO79TX18EiTy 17gBztV8m4poGR76GtPpTk6cBuHmmgnJ70V9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZuQlgy6mSsxEmsbyYBJ6xtLBrfIWcuhE5Sb7QjPGPAfU6dqN5RNdY8YdKuU2PDmJMj g8p97tM/PxuW7Dw0qRt3JtS/Jqo+peQUUvY8aKcBc6GCuks7fW+wL0PW+GtamoKZCv2g kPeBbdzjdYDre1NEAqLybiGl6AmZgLkbQf1cg= MIME-Version: 1.0 Received: by 10.216.38.20 with SMTP id z20mr558654wea.108.1284513095851; Tue, 14 Sep 2010 18:11:35 -0700 (PDT) Received: by 10.216.133.2 with HTTP; Tue, 14 Sep 2010 18:11:35 -0700 (PDT) In-Reply-To: <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> <20100913211401.GA49701@triton8.kn-bremen.de> Date: Tue, 14 Sep 2010 20:11:35 -0500 Message-ID: From: Brandon Gooch To: Juergen Lock Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Wed, 15 Sep 2010 01:38:04 -0000 On Mon, Sep 13, 2010 at 4:14 PM, Juergen Lock wrot= e: > 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. =A0I don't know how stable this is on >> >>> FreeBSD or if there still may be bugs, so please give this a good te= st >> >>> and post your results here. =A0Here's a simple example: >> >>> >> >>> =A0 # vdfuse -r -f ~nox/.VirtualBox/HardDisks/win7-64.vdi /mnt >> >>> =A0 # mdconfig -a -f /mnt/Partition2 -o readonly >> >>> =A0 md0 >> >>> =A0 # mount -o ro -t ntfs /dev/md0 /mnt2 >> >>> =A0 # ls -l /mnt2 >> >>> =A0 ... >> >>> =A0 # umount /mnt2 >> >>> =A0 # mdconfig -d -u 0 >> >>> =A0 # umount /mnt >> >> >> >> It works for a .vdi of a UFS drive. =A0The BSD partitions show up on = the >> >> md0 device (md0a, etc). =A0Just 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. =A0Not wh= at >> I'd call a thorough test, but it did read everything in the filesystem >> without problems. > > Ok that sounds promising... =A0Someone want to do more tests or should I > just commit the port? :) During my first (and only) testing session, I wasn't able to mount the md(4) device after I created it. Further, after a few attempts each time, vdfuse would segfault. Image was form Windows XP 32-bit (1 Partition, NTFS). I'm in the process of rebuilding my system ATM (kernel, world, and ports), but I will test further when I'm back up again... -Brandon