[Bug 143962] fstat(1) doesn't work on UNIX sockets
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Apr 2023 22:56:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143962
Dave Cottlehuber <dch@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
CC| |dch@freebsd.org
Status|Open |Closed
--- Comment #9 from Dave Cottlehuber <dch@freebsd.org> ---
Implemented in https://svnweb.freebsd.org/base?view=revision&revision=353769
with -s -f:
$ fstat -sf /var/run/log | head -8 | column -t
USER CMD PID FD MOUNT INUM MODE SZ|DV R/W
root kernel 0 wd / 34 drwxr-xr-x 38 r
root kernel 0 root / 34 drwxr-xr-x 38 r
root init 1 text / 75981 -r-xr-xr-x 1235440 r
root init 1 wd / 34 drwxr-xr-x 38 r
root init 1 root / 34 drwxr-xr-x 38 r
dch mosh-client 66306 text / 1114490 -rwxr-xr-x 319960 r
dch mosh-client 66306 root / 34 drwxr-xr-x 38 r
--
You are receiving this mail because:
You are the assignee for the bug.