Subject: Re: bouyer-xenamd64 merge (xen roadmap)
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Christoph Egger <Christoph_Egger@gmx.de>
List: port-xen
Date: 11/29/2007 15:18:20
On Wednesday 28 November 2007 15:40:31 Manuel Bouyer wrote:
> On Wed, Nov 28, 2007 at 02:58:44PM +0100, Christoph Egger wrote:
> > On Monday 19 November 2007 15:46:39 Andrew Doran wrote:
> > > On Mon, Nov 19, 2007 at 01:06:07PM +0100, Christoph Egger wrote:
> > > > On Monday 19 November 2007 11:22:28 Manuel Bouyer wrote:
> > > > > On Mon, Nov 19, 2007 at 10:46:57AM +0100, Hubert Feyrer wrote:
> > > > > > On Mon, 19 Nov 2007, Christoph Egger wrote:
> > > > > > >I made most (but not
> > > > > > >all) patches from pkgsrc going upstream
> > > > > >
> > > > > > Thanks!
> > > > >
> > > > > Seconded :)
> > > >
> > > > To make xen-tools building out-of-the box, NetBSD needs the following
> > > > improvements:
> > > >
> > > > libc:
> > > >    It misses the POSIX API  posix_memalign(3)
> > >
> > > I just enabled this in -current.
> > >
> > > Andrew
> >
> > Thank you very much. I have blktap building on NetBSD now.
> > But to make it _work_, I need to know some NetBSD pendants from Linux.
> >
> > Linux defines in /usr/include/linux/fs.h the following ioctl() commands:
> >
> > BLKGETSIZE and BLKSSZGET (and some more).
> >
> > What are the NetBSD pendants to these Linux specific ones?
>
> What do they do ?

BLKGETSIZE:  returns device capacity in 512-byte sectors
BLKSSZGET:   returns sector size in bytes

Christoph