From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2131e29a22091a90b56bf322ca386d2b.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199605142057.NAA05396@web.azstarnet.com> Date: Tue, 14 May 1996 17:08:35 -0400 (EDT) From: Chris Griffin Subject: Re: sys_lseek() broken for alpha 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 > Department of Computer Science, Edinburgh University, Scotland. > >