Path: ...!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail From: John Levine Newsgroups: comp.arch Subject: Re: streams and file locks, ancient OS history, ARM is sort of channeling Date: Sun, 30 Jun 2024 22:55:35 -0000 (UTC) Organization: Taughannock Networks Message-ID: References: <9eb8f81dda97a8df903df255311cf8e9@www.novabbs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 30 Jun 2024 22:55:35 -0000 (UTC) Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="43821"; mail-complaints-to="abuse@iecc.com" In-Reply-To: <9eb8f81dda97a8df903df255311cf8e9@www.novabbs.org> Cleverness: some X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: johnl@iecc.com (John Levine) Bytes: 1731 Lines: 15 According to MitchAlsup1 : >Scott Lurndal wrote: >> >> In fact, you can ftruncate arbitrarily large at the start - >> backing sectors for the mapped pages will only be allocated when >> a page is referenced for the first time. > >Can you ftruncate( 0x7FFFFFFFFFFFFFFFF ); ?? ½ of the address space Every filesystem has a maximum file size. Exceed that and you'll get an EFBIG error. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly