Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2023 22:56:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 143962] fstat(1) doesn't work on UNIX sockets
Message-ID:  <bug-143962-227-5fSGcUc1Hb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-143962-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-143962-227-5fSGcUc1Hb>