On Sun Feb 06 2011 at 00:08:33 +0900, Izumi Tsutsui wrote:
> yamt@ wrote:
> 
> > i'd like to remove the sparseness check in vnd because there's
> > no problem to use a sparse files on nfs.
> 
> We really want vnd on sparse files for emulator images...

I have this in my /etc/fstab:
/home/pooka/temp/anita/wd0.img%DISKLABEL:a% /anita ffs rw,noauto,rump

It works perfectly for editing the image.  fsck is a slightly gray area,
but with wapbl it's not really a concern.  I use the following to mount
the image so that I don't need to unnecessarily sudo all the access:

> alias anitamnt
env P2K_WIZARDUID=0 mount -o log /anita


But on the original subject, maybe we can use either gop_alloc or vop_bmap
to decide if the underlying file systems supports vnd on sparse files.

-- 
älä karot toivorikkauttas, kyl rätei ja lumpui piisaa

Reply via email to