[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: O_DIRECT "packet mode" pipes on Linux
From: |
Vito Caputo |
Subject: |
Re: O_DIRECT "packet mode" pipes on Linux |
Date: |
Wed, 23 Sep 2020 20:41:36 -0700 |
On Wed, Sep 23, 2020 at 09:12:40AM -0400, Chet Ramey wrote:
> On 9/22/20 11:23 PM, Vito Caputo wrote:
> > Hello list,
> >
> > Is there any chance we could get a | modifier for enabling O_DIRECT on the
> > created pipe? "Packet" style pipes have some interesting and potentially
> > useful properties, it would be nice if bash made them more accessible.
>
> Is there a general need, especially since they're Linux-specific?
>
I'm not sure, but as far as GNU/Linux distros go bash, is kind of the
canonical shell, and this functionality is kind of inaccessible
without the shell wiring it up.
If I'm not mistaken this pipe flavor exists as the default behavior in
plan9, so it's not entirely unique to linux conceptually.
> What kind of modifier would you suggest?
>
Maybe triple pipe could be packetized pipe? It visually expresses
being sliced up somewhat; `foo ||| bar`
> Does anyone want to take a shot at implementing this idea?
>
It's possible I could find time to take a stab at it, if nobody else
wants to.
Cheers,
Vito Caputo
- O_DIRECT "packet mode" pipes on Linux, Vito Caputo, 2020/09/23
- Re: O_DIRECT "packet mode" pipes on Linux, Chet Ramey, 2020/09/23
- Re: O_DIRECT "packet mode" pipes on Linux,
Vito Caputo <=
- Re: O_DIRECT "packet mode" pipes on Linux, Lawrence Velázquez, 2020/09/23
- Re: O_DIRECT "packet mode" pipes on Linux, Vito Caputo, 2020/09/24
- Re: O_DIRECT "packet mode" pipes on Linux, Robert Elz, 2020/09/24
- Re: O_DIRECT "packet mode" pipes on Linux, Vito Caputo, 2020/09/24
- Re: O_DIRECT "packet mode" pipes on Linux, Robert Elz, 2020/09/24
- Re: O_DIRECT "packet mode" pipes on Linux, Dale R. Worley, 2020/09/25