Deutsch   English   Français   Italiano  
<7e40b7fc3fb42813e36a2dc31b486a29@www.novabbs.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: mitchalsup@aol.com (MitchAlsup1)
Newsgroups: comp.arch
Subject: Re: streams and file locks, ancient OS history, ARM is sort of channeling
Date: Sun, 30 Jun 2024 23:11:51 +0000
Organization: Rocksolid Light
Message-ID: <7e40b7fc3fb42813e36a2dc31b486a29@www.novabbs.org>
References: <s7r87j1c3u6mim0db3ccbdvknvtjr4anu3@4ax.com> <v5s6rc$22gn$1@gal.iecc.com> <zcjgO.80367$WaKd.28822@fx41.iad> <9eb8f81dda97a8df903df255311cf8e9@www.novabbs.org> <v5snp7$1apd$1@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
	logging-data="1738174"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="65wTazMNTleAJDh/pRqmKE7ADni/0wesT78+pyiDW8A";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$qdgpt5YCcYMdNwlBwehAh.aVbtZYd56QAefQgD6OmiU/OOxoa3w7C
X-Rslight-Posting-User: ac58ceb75ea22753186dae54d967fed894c3dce8
X-Spam-Checker-Version: SpamAssassin 4.0.0
Bytes: 1724
Lines: 16

John Levine wrote:

> According to MitchAlsup1 <mitchalsup@aol.com>:
>>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.

Then it is not capable of ftruncate arbitrarily large in a hardware's
view of arbitrarily large which tends to be 1-bit smaller than the
largest container.