NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/57850: [patch] tail(1) is not able to operate on files residing in pseudo-filesystems



>Number:         57850
>Category:       bin
>Synopsis:       [patch] tail(1) is not able to operate on files residing in pseudo-filesystems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 14 15:45:00 +0000 2024
>Originator:     Ricardo Branco
>Release:        NetBSD 10.0_RC2
>Organization:
>Environment:
>Description:
tail(1) is not able to operate on files residing in pseudo-filesystems or others that advertise a zero size.

Fixed in FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276107
>How-To-Repeat:
To reproduce: `tail -1 /proc/mounts` dumps the whole file.
>Fix:
https://github.com/NetBSD/src/pull/20



Home | Main Index | Thread Index | Old Index