Date: Tue, 14 Sep 2010 20:11:35 -0500 From: Brandon Gooch <jamesbrandongooch@gmail.com> To: Juergen Lock <nox@jelal.kn-bremen.de> Cc: freebsd-emulation@freebsd.org Subject: Re: CFT: vdfuse port (was: Re: Mounting VirtualBox vdi files [SEC=UNCLASSIFIED]) Message-ID: <AANLkTimcLFG4tZiNhYQuXO64aSDVyT-4Gg6CmyEmOho4@mail.gmail.com> In-Reply-To: <20100913211401.GA49701@triton8.kn-bremen.de> References: <alpine.BSF.2.00.1007052053090.9243@wonkity.com> <20100706032057.GA15827@stlux503.dsto.defence.gov.au> <201009022024.o82KOVni007042@triton8.kn-bremen.de> <alpine.BSF.2.00.1009081918340.25377@wonkity.com> <20100911184519.GA2100@triton8.kn-bremen.de> <alpine.BSF.2.00.1009111302590.62686@wonkity.com> <20100913211401.GA49701@triton8.kn-bremen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 13, 2010 at 4:14 PM, Juergen Lock <nox@jelal.kn-bremen.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimcLFG4tZiNhYQuXO64aSDVyT-4Gg6CmyEmOho4>