On 23/10/2025 10:19, Peter Tribble wrote:
On Wed, Oct 22, 2025 at 5:57 PM Bill Sommerfeld via illumos-discuss <[email protected] <mailto:[email protected]>> wrote:

    On 10/22/25 07:28, Peter Tribble wrote:
     > tail really shouldn't need to keep the file descriptor
     > open for every file
    Try "tail -f" with multiple file arguments; it tracks all the files
    (and
    thus has reason to keep all of them open).


But, as Udo said originally, without -f it doesn't need to keep them open at all.

The source code even has to distinct sections to open with and
without -f, and it would probably be trivial to add a close for
the non-f case in the loop after.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T74fba5bf347a7c5f-M4e76b145703202f65c37b7be
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to