Subject: Re: RFC: lseek() extension for sparse files version 3 + UFS implementation
To: Klaus Klein <kleink@reziprozitaet.de>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: tech-kern
Date: 09/26/2006 22:49:52
--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Dear Klaus,

On Tue, Sep 26, 2006 at 10:38:23PM +0200, Klaus Klein wrote:
> On Tuesday 26 September 2006 21:36, Reinoud Zandijk wrote:
> 
> > -#define	spec_seek	genfs_nullop		/* XXX should query device */
> > +#define	spec_seek	genfs_seek		/* XXX should query device */
> 
> I'm pretty sure this will break certain cases such as kvm on 64-bit
> platforms, where you need all of off_t's 64 bits to represent the
> valid file offsets into /dev/mem.  (Been there, made that mistake
> before. :-)

Then i guess i'll have to change these back. Hadn't thought about that 
indeed! Thanks for pointing out :)

With regards,
Reinoud

--gBBFr7Ir9EOA20Yy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (NetBSD)

iQEVAwUBRRmSaYKcNwBDyKpoAQI8CwgAjUbGBmbJNdj1YAU+c/Lg/xpS7hDo2HyM
bTb3Qcl2nR5fU6RvqkKGc9/Fk3o1tpRCIO2Adp31hEiW++IO6gFAM1IeSMrDvPxG
yfTvwIrRtEuQU5xFlXi8FN+bOXXn93nUrqOUSlUjKmN0sN22NCkjke8e+njYt9z9
q/Wb+m0B2lizNMBEqnT5BUHu6Jj7s8wZv0xna6iCHksSyd5shBBIYQuQHhrUIyVk
10eWCpvOYFULu/nlXwIPywu2n3AfXckT/cE8mD9VasuAsjOSZ+O8+BLUbFHDznO6
5PdgUs/wDeBtidesNpKs5v0Sg+UvO+uhODbNEmyuVv9O18Tdz2vh9Q==
=ZkTC
-----END PGP SIGNATURE-----

--gBBFr7Ir9EOA20Yy--