which is "better" - /dev/fd or FIFO

tech-lists tech-lists at zyxst.net
Sat Mar 6 16:57:42 UTC 2021

On Sat, Mar 06, 2021 at 09:37:49AM -0700, @lbutlr wrote:
>On 06 Mar 2021, at 07:08, tech-lists <tech-lists at zyxst.net> wrote:
>> Some ports, notably shells/bash, have a makeoptions config where you can
>> select "enable use of /dev/fd". But there's no explanation given why
>> this is advantageous or not, or if there's some kind of risk, in a
>> freebsd context [1]. It's not enabled by default. Please can anyone explain?
>Do you have a floppy drive?

no. I admit i'd not thought of floppy drive at all. In 2021, who does?

But the context in which this option is in, is confusing. The option 
is for fdescfs with "enable use of /dev/fd". I don't know what fdescfs
truly is, apart from something to do with file descriptords, and not
floppy drives.

Look here to see what I mean:


I think "enable use of /dev/fd" might be a bug; maybe it should say
"enable use of /dev/fdescfs" ?

In which case my question should be "which is best - /dev/fdescfs or fifo?"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20210306/b22af499/attachment.sig>

More information about the freebsd-questions mailing list