https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276106

Xin LI <delp...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |delp...@freebsd.org

--- Comment #2 from Xin LI <delp...@freebsd.org> ---
(In reply to Mark Johnston from comment #1)
> It would seem better for pseudofs-based filesystems to correctly report file 
> 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..)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to