Re: The joy of pipes

Liste des GroupesRevenir à col misc 
Sujet : Re: The joy of pipes
De : spamtrap42 (at) *nospam* jacob21819.net (Robert Riches)
Groupes : comp.os.linux.misc
Date : 16. Nov 2024, 05:33:07
Autres entêtes
Organisation : none-at-all
Message-ID : <slrnvjg843.1g8.spamtrap42@one.localnet>
References : 1 2 3 4 5 6 7 8 9
User-Agent : slrn/1.0.3 (Linux)
On 2024-11-15, Louis Krupp <lkrupp@invalid.pssw.com.invalid> wrote:
This is a multi-part message in MIME format.
--------------cDOk308Xy6TMkzB8MsXpyDQY
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
>
On 11/15/2024 12:49 AM, 186282@ud0s4.net wrote:
On 11/14/24 9:05 PM, Lawrence D'Oliveiro wrote:
On Thu, 14 Nov 2024 16:09:07 -0800, John Ames wrote:
>
(I think it was a topic shift to applications of *nix pipes...?)
>
Oh shelly boy, the pipes, the pipes are calling ...
>
  Pipes are good.
>
  But, really, they're just temp files the parent
  process can access.
>
Pipes *could* be implemented with temporary disk files, at least to an
extent, but as far as I can tell, they're not.
>
Quoting from this page:
>
https://www.geeksforgeeks.org/piping-in-unix-or-linux/#
>
    In Linux, a pipe is not a regular file but a type of inter-process
    communication (IPC) mechanism that acts as a buffer, which can be
    used to connect the output of one process to the input of another.
    Although pipes are not files, they are implemented using file
    descriptors and share many behaviors with files. They exist only in
    memory and do not have a presence in the file system, unlike regular
    files.
>
Louis

There are also "named pipes" aka FIFOs.  On Devuan Daedalus (and
probably most other distributions) this command will show
information about them:

        man 7 pipe

I have used a named pipe aka FIFO on a Raspberry PI.  An mplayer
process reads from a PVR-USB2 TV receiver and writes to the named
pipe or FIFO.  A netcat process reads from the named pipe or FIFO
to send the bits to a larger computer with substantial disk
storage.  A 105 minute recording session is several GB in size.
A cron job, ssh, and some shell scripting launch the stuff.

(Unfortunately, either the amplified TV antenna in the attic has
lost its gain, or the PVR-USB2 unit has lost front-end gain, so
it has not captured a viewable program in a few years.)

HTH

--
Robert Riches
spamtrap42@jacob21819.net
(Yes, that is one of my email addresses.)

Date Sujet#  Auteur
9 Nov 24 * The joy of octal66Chris Ahlstrom
11 Nov 24 `* Re: The joy of octal65John Ames
11 Nov 24  +* Re: The joy of octal49Chris Ahlstrom
12 Nov 24  i+* Re: The joy of octal47Chris Ahlstrom
12 Nov 24  ii`* Re: The joy of EBCDIC46John Ames
12 Nov 24  ii +* Re: The joy of EBCDIC3Chris Ahlstrom
12 Nov 24  ii i`* Re: The joy of EBCDIC2candycanearter07
13 Nov 24  ii i `- Re: The joy of EBCDIC1Chris Ahlstrom
14 Nov 24  ii `* Re: The joy of EBCDIC42Fritz Wuehler
14 Nov 24  ii  `* Re: The joy of EBCDIC41Clemens Schüller
15 Nov 24  ii   `* Re: The joy of EBCDIC40Eli the Bearded
15 Nov 24  ii    `* Re: The joy of pipes39John Ames
15 Nov 24  ii     +* Re: The joy of pipes37Lawrence D'Oliveiro
15 Nov 24  ii     i`* Re: The joy of pipes36186282@ud0s4.net
15 Nov 24  ii     i +- Re: The joy of pipes1John Ames
16 Nov 24  ii     i +- Re: The joy of pipes1Lawrence D'Oliveiro
16 Nov 24  ii     i +* Re: The joy of pipes2Robert Riches
16 Nov 24  ii     i i`- Re: The joy of pipes1Lawrence D'Oliveiro
16 Nov 24  ii     i +* Re: The joy of pipes4186282@ud0s4.net
16 Nov 24  ii     i i`* Re: The joy of pipes3rbowman
16 Nov 24  ii     i i `* Re: The joy of pipes2186282@ud0s4.net
17 Nov 24  ii     i i  `- Re: The joy of pipes1186282@ud0s4.net
16 Nov 24  ii     i `* Re: The joy of pipes27Richard Kettlewell
17 Nov 24  ii     i  `* Re: The joy of pipes26186282@ud0s4.net
17 Nov 24  ii     i   +* Re: The joy of pipes4Lawrence D'Oliveiro
17 Nov 24  ii     i   i`* Re: The joy of pipes3186282@ud0s4.net
17 Nov 24  ii     i   i `* Re: The joy of pipes2Lawrence D'Oliveiro
17 Nov 24  ii     i   i  `- Re: The joy of pipes1186282@ud0s4.net
17 Nov 24  ii     i   `* Re: The joy of pipes21Richard Kettlewell
18 Nov 24  ii     i    `* Re: The joy of pipes20186282@ud0s4.net
18 Nov 24  ii     i     +* Re: The joy of pipes17Lawrence D'Oliveiro
18 Nov 24  ii     i     i`* Re: The joy of pipes16186282@ud0s4.net
18 Nov 24  ii     i     i `* Re: The joy of pipes15Pancho
18 Nov 24  ii     i     i  +* Re: The joy of pipes13Lawrence D'Oliveiro
18 Nov 24  ii     i     i  i`* Re: The joy of pipes12Pancho
18 Nov 24  ii     i     i  i +* Re: The joy of pipes8The Natural Philosopher
18 Nov 24  ii     i     i  i i+* Re: The joy of pipes3Pancho
18 Nov 24  ii     i     i  i ii+- Re: The joy of pipes1The Natural Philosopher
18 Nov 24  ii     i     i  i ii`- Re: The joy of pipes1rbowman
19 Nov 24  ii     i     i  i i`* Re: The joy of pipes4186282@ud0s4.net
19 Nov 24  ii     i     i  i i +- Re: The joy of pipes1Lawrence D'Oliveiro
19 Nov 24  ii     i     i  i i +- Re: The joy of pipes1The Natural Philosopher
19 Nov 24  ii     i     i  i i `- Re: The joy of pipes1Richard Kettlewell
18 Nov 24  ii     i     i  i `* Re: The joy of pipes3rbowman
19 Nov 24  ii     i     i  i  `* Re: The joy of pipes2Pancho
19 Nov 24  ii     i     i  i   `- Re: The joy of pipes1Lawrence D'Oliveiro
19 Nov 24  ii     i     i  `- Re: The joy of pipes1186282@ud0s4.net
19 Nov 24  ii     i     `* Re: The joy of pipes2Robert Riches
19 Nov 24  ii     i      `- Re: The joy of pipes1Lawrence D'Oliveiro
15 Nov 24  ii     `- Re: The joy of pipes1Eli the Bearded
12 Nov 24  i`- Re: The joy of octal1Eli the Bearded
12 Nov 24  `* Re: The joy of octal15Fritz Wuehler
15 Nov 24   `* Re: The joy of octal14186282@ud0s4.net
15 Nov 24    `* Re: The joy of octal13rbowman
16 Nov 24     +* Re: The joy of octal7186282@ud0s4.net
16 Nov 24     i`* Re: The joy of octal6rbowman
16 Nov 24     i `* Re: The joy of octal5186282@ud0s4.net
16 Nov 24     i  +* Re: The joy of octal2Don_from_AZ
17 Nov 24     i  i`- Re: The joy of octal1186282@ud0s4.net
16 Nov 24     i  `* Re: The joy of octal2rbowman
17 Nov 24     i   `- Re: The joy of octal1186282@ud0s4.net
16 Nov 24     `* Re: The joy of octal5186282@ud0s4.net
16 Nov 24      +- Re: The joy of octal1rbowman
16 Nov 24      `* Re: The joy of octal3Andreas Eder
16 Nov 24       `* Re: The joy of octal2The Natural Philosopher
17 Nov 24        `- Re: The joy of octal1186282@ud0s4.net

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal