Date: Thu, 04 Jan 2024 00:55:30 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276106] hexdump(1) is not able to skip on files residing on pseudo-filesystems Message-ID: <bug-276106-227-fqEUm7jdmg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-276106-227@https.bugs.freebsd.org/bugzilla/> References: <bug-276106-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276106 Xin LI <delphij@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |delphij@FreeBSD.org --- Comment #2 from Xin LI <delphij@FreeBSD.org> --- (In reply to Mark Johnston from comment #1) > It would seem better for pseudofs-based filesystems to correctly report f= ile sizes I think this would require a pn_fill() (when !NULL) for every pfs_getattr()= and defeat the purpose of stat() being faster than actually reading the file? = Also it would diverge from what Linux does (their /proc would have 0-sized files= and the behavior is documented, although I don't have an example of applications expecting this behavior..) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276106-227-fqEUm7jdmg>