Re: sys_lseek() broken for alpha

Chris Griffin (boozer@vanadium.rollins.edu)
Tue, 14 May 1996 17:08:35 -0400 (EDT)


Does this fact mean linux-alpha wont recognize >2gig drives. I am
getting a 4 gig in a month I want to make sure it will work!

Thanks
Chris

On Tue, 14 May 1996, Stephen C. Tweedie wrote:

> Hi,
>
> On Mon, 13 May 1996 17:35:32 +0200 (MET DST),
> koenig@tat.physik.uni-tuebingen.de (Harald Koenig) said:
>
> > sys_lseek() should return off_t which is long (64 bit) for alpha but
> > returns 32bit int. as a result, fdisk fails for >2GB disks.
>
> Go and complain to your friendly ANSI / K&R / POSIX guru. :( I'm
> afraid that the return type NEEDS to be int for compliance with the
> world's libc standards. That's precisely why we need sys_llseek() on
> the intel platform to get 64-bit partition access.
>
> Cheers,
> Stephen.
> --
> Stephen Tweedie <sct@dcs.ed.ac.uk>
> Department of Computer Science, Edinburgh University, Scotland.
>
>