From: campbejr@phu989.mms.sbphrd.com (John R. Campbell)
Subject: Re: FS: Dec Alphastation 500/500 Must sell
Date: 1997/04/30 [thread overview]
Message-ID: <slrn45mf9rb.qbs.campbejr@phu989.um.us.sbphrd.com> (raw)
In-Reply-To: 5k8268$3so@cynic.portal.ca
On 30 Apr 1997 11:14:32 -0700, Curt Sampson <cjs@cynic.portal.ca> wrote:
>In article <slrn45meh4b.qbs.campbejr@phu989.um.us.sbphrd.com>,
>John R. Campbell <soup@jtan.com> wrote:
>
>> Actually, due to the architecture of Unix and the lseek() call,
>> the size of a volume should not exceed that of the maximum positive
>> integer value of a long (i.e. (2**31)-1, 0x7ffffff).
>
>No. It should not exceed the maximum positive value of the second
>argument to lseek. In the case of NetBSD, lseek is declared as
>
> off_t lseek(int fildes, off_t offset, int whence)
>
>and an off_t is signed 64 bit type.
Sure... *NOW* it is. I date back to the bad old days of V7,
SysIII and SysV on various machines; It is only (fairly recently)
that the old programs need to be altered to fit.
In order to support "long long" (I prefer "very long", but this
hasn't been accepted by any compiler writers) the compiler itself
must allow for such a "scalar" data type (i.e. one with no sub-
parts). This "off_t" type came rather late in the game and has
been getting deployed.
Unfortunately for us fossils, lots of "old" source code didn't
consider the offset of lseek to be anything other than the old
(venerable) "long int"- Sure, it is now bogus, but this is how
it was defined in various prototypes.
Now, remember that this means that the processor itself must do
a good (competent) job of manipulating such a scalar object. I
don't like depending upon a library routine to do it, even though
(for many systems) it must.
Also, for some systems, code compatibility with older versions
of the software is important...
--
John R. Campbell Speaker to Machines soup@jtan.com
"As a SysAdmin, yes, I CAN read your e-mail, but I DON'T get that bored!"-me
Disclaimer: I'm just a consultant at the bottom of the food chain, so,
if you're thinking I speak for anyone but myself, you must
have more lawyers than sense.
next prev parent reply other threads:[~1997-04-30 4:00 UTC|newest]
Thread overview: 107+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-14 4:00 FS: Dec Alphastation 500/500 Must sell Jayson
1997-04-15 4:00 ` Tushar Udeshi
1997-04-15 4:00 ` Jeffrey Potoff
1997-04-16 4:00 ` Michael Heller
1997-04-17 4:00 ` Dennis Moran
1997-04-17 4:00 ` Eric D. Wiesen
1997-04-16 4:00 ` Subir Grewal
1997-04-16 4:00 ` Loosh
1997-04-17 4:00 ` Tushar Udeshi
1997-04-17 4:00 ` Ketil Z Malde
1997-04-17 4:00 ` Curt Sampson
1997-04-20 4:00 ` Tushar Udeshi
1997-04-20 4:00 ` Jeffrey Potoff
1997-04-20 4:00 ` Donnie Barnes
1997-04-24 4:00 ` Ilya
1997-04-24 4:00 ` Michael Heller
1997-04-24 4:00 ` Donnie Barnes
1997-04-28 4:00 ` Dan Pop
1997-04-28 4:00 ` Curt Sampson
1997-04-28 4:00 ` Ron Natalie
1997-04-29 4:00 ` Dan Pop
1997-04-28 4:00 ` Ross Alexander
1997-04-28 4:00 ` Curt Sampson
1997-04-30 4:00 ` John R. Campbell
1997-04-30 4:00 ` Curt Sampson
1997-04-30 4:00 ` John R. Campbell [this message]
1997-04-30 4:00 ` Donnie Barnes
1997-05-04 4:00 ` Christopher D Dukes
1997-04-29 4:00 ` Dan Pop
1997-04-29 4:00 ` Ross Alexander
1997-04-30 4:00 ` Curt Sampson
1997-04-28 4:00 ` Neill Clift
1997-04-28 4:00 ` Vance R. Haemmerle
1997-04-29 4:00 ` Dan Pop
1997-04-30 4:00 ` Ketil Z Malde
1997-04-30 4:00 ` Dan Pop
1997-05-02 4:00 ` Like a tea tray in the sky...
1997-05-04 4:00 ` Christopher D Dukes
1997-04-30 4:00 ` Curt Sampson
1997-04-29 4:00 ` K.J. Seefried III
1997-04-29 4:00 ` Dan Pop
1997-04-29 4:00 ` Curt Sampson
1997-04-30 4:00 ` Glenn C. Everhart
1997-05-01 4:00 ` K.J. Seefried III
1997-05-01 4:00 ` Dan Pop
1997-05-02 4:00 ` Like a tea tray in the sky...
1997-05-04 4:00 ` Christopher D Dukes
1997-05-05 4:00 ` Dan Pop
1997-04-29 4:00 ` Toon Moene
1997-04-30 4:00 ` Dan Pop
1997-04-30 4:00 ` Donnie Barnes
1997-05-02 4:00 ` Like a tea tray in the sky...
1997-05-03 4:00 ` Dan Pop
1997-05-02 4:00 ` Like a tea tray in the sky...
1997-04-21 4:00 ` Michael Heller
1997-04-23 4:00 ` Tushar Udeshi
1997-04-23 4:00 ` John "E.R." Jasen
1997-04-24 4:00 ` rdoggart
1997-04-23 4:00 ` Boris Gjenero
1997-04-24 4:00 ` John R. Campbell
1997-04-25 4:00 ` Paul Moore
-- strict thread matches above, loose matches on Subject: below --
1997-04-30 4:00 Robert Harley
1997-04-30 4:00 ` Thomas Gunnar Sparks
1997-04-30 4:00 ` Arun Sharma
1997-04-30 4:00 ` Thomas Gunnar Sparks
1997-04-30 4:00 ` Donnie Barnes
1997-04-30 4:00 ` Arun Sharma
1997-05-01 4:00 ` Donnie Barnes
1997-05-01 4:00 ` Pim van der Eijk
1997-05-01 4:00 ` Curt Sampson
1997-05-02 4:00 ` Ketil Z Malde
1997-05-02 4:00 ` George Robbins
1997-05-01 4:00 ` Charles McCrobie
1997-05-02 4:00 ` Kevin P. Neal
1997-05-02 4:00 ` Like a tea tray in the sky...
1997-05-02 4:00 ` Like a tea tray in the sky...
1997-05-01 4:00 ` Dan Pop
1997-04-30 4:00 ` Toon Moene
1997-04-30 4:00 ` Curt Sampson
1997-04-30 4:00 ` Roman Gollent
1997-04-30 4:00 ` Boris Gjenero
1997-05-01 4:00 ` Thomas Gunnar Sparks
1997-05-01 4:00 ` aaron t porter
1997-05-01 4:00 ` Boris Gjenero
1997-05-08 4:00 ` compren
1997-05-09 4:00 ` John Appleby
1997-04-30 4:00 ` Donnie Barnes
1997-05-01 4:00 ` Subir Grewal
1997-05-01 4:00 ` Brian E.W. Wood
1997-05-01 4:00 ` Donnie Barnes
1997-05-02 4:00 ` Carl S Shapiro
1997-05-02 4:00 ` Ketil Z Malde
1997-05-03 4:00 ` Donnie Barnes
1997-05-03 4:00 ` Curt Sampson
1997-05-04 4:00 ` Kevin P. Neal
1997-05-04 4:00 ` Donnie Barnes
1997-05-03 4:00 ` Erik
1997-05-03 4:00 ` Curt Sampson
1997-05-04 4:00 ` Donnie Barnes
1997-05-06 4:00 ` Nicholas Alexander Bastin
1997-05-06 4:00 ` Uwe Leinberger GSI Darmstadt
1997-05-09 4:00 ` Nicholas Alexander Bastin
1997-04-30 4:00 ` Dan Pop
1997-05-02 4:00 ` Kevin P. Neal
1997-05-02 4:00 ` H. Blakely Williford
1997-05-02 4:00 ` Like a tea tray in the sky...
1997-05-02 4:00 ` Like a tea tray in the sky...
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