Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Chris Griffin <boozer@vanadium.rollins.edu>
Subject: Re: sys_lseek() broken for alpha
Date: Tue, 14 May 1996 17:08:35 -0400 (EDT)	[thread overview]
Message-ID: <2131e29a22091a90b56bf322ca386d2b.axp-list@archive.invalid> (raw)
In-Reply-To: <199605140011.BAA00734@dax.dcs.ed.ac.uk>

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.
> 
>

  parent reply	other threads:[~1996-05-14 21:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199605140011.BAA00734@dax.dcs.ed.ac.uk>
1996-05-14  9:38 ` sys_lseek() broken for alpha Harald Koenig
1996-05-14 21:08 ` Chris Griffin [this message]
     [not found] <Pine.SOL.3.91.960514170705.22221A-100000@vanadium>
1996-05-14 21:39 ` Harald Koenig
1996-05-13 15:35 Harald Koenig
1996-05-14  0:11 ` Stephen C. Tweedie
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox