=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/fstat/fstat.1,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- src/usr.bin/fstat/fstat.1 2019/01/30 07:56:11 1.57 +++ src/usr.bin/fstat/fstat.1 2019/03/31 01:08:09 1.58 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fstat.1,v 1.57 2019/01/30 07:56:11 martijn Exp $ +.\" $OpenBSD: fstat.1,v 1.58 2019/03/31 01:08:09 procter Exp $ .\" .\" Copyright (c) 1987, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)fstat.1 8.3 (Berkeley) 2/25/94 .\" -.Dd $Mdocdate: January 30 2019 $ +.Dd $Mdocdate: March 31 2019 $ .Dt FSTAT 1 .Os .Sh NAME @@ -122,13 +122,18 @@ .It Li FD The file number in the per-process open file table or one of the following special names: -.Bd -literal -offset indent -text \- executable text inode -wd \- current working directory -root \- root inode -tr \- kernel trace file -.Ed .Pp +.Bl -tag -width indent -compact +.It text +executable text inode +.It wd +current working directory +.It root +root inode +.It tr +kernel trace file +.El +.Pp If the file number is followed by an asterisk .Pq Ql * , the file is not an inode, but rather a socket, or there is an error. @@ -162,11 +167,18 @@ as an octal number. .It Li R/W This column describes the properties of the file descriptor: -.Bd -literal -offset indent -r Open for reading -w Open for writing -e close-on-exec flag is set -.Ed +.Pp +.Bl -tag -width indent -compact +.It r +Open for reading +.It w +Open for writing +.It e +close-on-exec flag is set +.It p +Opened after +.Xr pledge 2 +.El .Pp This field is useful when trying to find the processes that are preventing a file system from being downgraded to read-only.