home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!news.dtc.hp.com!srgenprp!darrylo
- From: darrylo@sr.hp.com (Darryl Okahata)
- Subject: Re: maximum file size
- Sender: news@srgenprp.sr.hp.com (placeholder for future)
- Message-ID: <C0rBM4.KCt@srgenprp.sr.hp.com>
- Date: Tue, 12 Jan 1993 20:01:15 GMT
- Reply-To: darrylo@sr.hp.com
- References: <C0r5tn.8Hw@fc.hp.com>
- Organization: Hewlett-Packard / Center for Primal Scream Therapy
- X-Newsreader: TIN [version 1.1 PL8.1]
- Lines: 19
-
- Munir Mallal (munir@fc.hp.com) wrote:
-
- > No, it is not possible. The maixmum allowable file is 2GB. Filesystems
- > and raw device I/O can approach 4GB.
-
- I'm sure someone will ask why. The cause is an artifact of 32-bit
- integers. As lseek(2) has to be able to seek backwards and forwards in
- a file (signed integers: +/- 2^31), sizes of files are limited to 2GB
- (2^31). In order to get larger file sizes, you'd either have to use >32
- bit integers ("long long"???), or you'd have to create some non-standard
- functions (which is probably a bad thing, given today's push towards
- standards).
-
- -- Darryl Okahata
- Internet: darrylo@sr.hp.com
-
- DISCLAIMER: this message is the author's personal opinion and does not
- constitute the support, opinion or policy of Hewlett-Packard or of the
- little green men that have been following him all day.
-