Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2021 16:57:37 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: which is "better" - /dev/fd or FIFO
Message-ID:  <YEO0gfiytP6n5%2BCD@ceres.local>
In-Reply-To: <7CEBCD10-90CA-4194-823C-8F87659706BC@kreme.com>
References:  <YEOMzXyvchUkMmdH@ceres.local> <7CEBCD10-90CA-4194-823C-8F87659706BC@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sat, Mar 06, 2021 at 09:37:49AM -0700, @lbutlr wrote:
>On 06 Mar 2021, at 07:08, tech-lists <tech-lists@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:

https://cloud.zyxst.net/~john/FreeBSD/ports/bashc/bashc.png

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?"

-- 
J.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmBDtHcACgkQs8o7QhFz
NAXecg//W8j9PJkiWJs2X9iQNy/SU/rZ1Hf5UIYeIDnqtw+YzIfhLNNLlshQ6IVF
BMSmBphlmFP4q4DGpG3CXJMvclQEG166WWlLPwNF+uIEifrF8vUIFL+OFA/9QXCb
H+YXOdK/1Oqca0KIbvsCLpKXXTdMuAv4x6JjjJLQE4EekH/MuLAM/BdnAv6RGUCi
c1u9LNAjvHnErdWhVnVlaAtnav7F/QA3sIiK+R26uJNnsJSPtt0cZFyq4p3spO80
YwYiTOyTpPIo05ymet4XDWf5xLl78nxnzk84Vh6kEIk+gD30HM3xtKC1flyBRS/E
gq3yMKyG9o97PHooPg3cgQfGnJbI861uUckmOaHgdkr1psWcoGHvtrTQa/h8+V6P
N3F4DWypnN3uuEgqIT/C+crLdNi0xSxGU5WX3kyop0qipPmsb6DN+3PUS4armIko
O5HvNJROkecINmcJB3SlG7xio/HukucNYw7DPmhd6HX2DycqNhbCSpIuMokz3O+n
TeuyGPnOV9hDR0f01EupQfYiW8xn5aH0AwUyF5xcK2r1CbRyEH5SG56FkjK5PUi0
fWkna0WrOFhifnvX6lUrnJSe6fNjzouU+P23GXN9ShlN8Hn5zqzzGNdZs9CRGqq2
z8V0+FRF/7YmwtTeUGBafD6oQN3PifEQFNmkuJ1Urtv1HKUsAls=
=I55X
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YEO0gfiytP6n5%2BCD>