Deutsch   English   Français   Italiano  
<vhbv11$g397$1@dont-email.me>

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

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of pipes
Date: Sun, 17 Nov 2024 05:30:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <vhbv11$g397$1@dont-email.me>
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com>
	<e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
	<m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf>
	<20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me>
	<hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com> <A7GZO.66$hgYd.23@fx41.iad>
	<wwvr07bpizm.fsf@LkoBDZeT.terraraq.uk>
	<JJOdnfSeXoej5aT6nZ2dnZfqnPSdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 17 Nov 2024 06:30:09 +0100 (CET)
Injection-Info: dont-email.me; posting-host="0e079645d656fd43a936f8dae4bc7735";
	logging-data="527655"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18S4bYOWqeZ1GtAwE669XoV"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:z4AHoilvQwHrRhp/E6SYud7Y5n0=
Bytes: 2173

On Sat, 16 Nov 2024 23:59:41 -0500, 186282@ud0s4.net wrote:

> On 11/16/24 5:31 AM, Richard Kettlewell wrote:
>> 
>> “Temporary files the parent can access” is not a good model for a
>> couple of reasons:
>> 
>> * The semantics are different. Bytes read from a regular file are still
>>    there to be read again if you rewind the file; bytes read from a
>>    pipe are gone. Empty/full files behave differently to empty/full
>>    pipes.
>> 
>> * Temporary regular files can already be accessed by other processes by
>>    name, by file descriptor inheritance, or file descriptor passing.
> 
> Didn't say temp disk files were necessarily SUPERIOR, just that they
> CAN do most of the stuff pipes are used for and in an easier
> user/code-friendly fashion.

Not really, no.

> SIZE is almost unlimited too.

That is another reason they don’t work.