From 939c7d3f2dc2df1015aca64ad6da3fa2b0cb77da Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 7 May 2014 19:22:54 +0000 Subject: Introduce a new command line switch '-H' for stat(1) causing arguments to be interpreted as NFS file handles. Reviewed by: -arch (jhb, eadler) MFC after: 1 month --- usr.bin/stat/stat.1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'usr.bin/stat/stat.1') diff --git a/usr.bin/stat/stat.1 b/usr.bin/stat/stat.1 index 7d591b8..eb8894c 100644 --- a/usr.bin/stat/stat.1 +++ b/usr.bin/stat/stat.1 @@ -38,7 +38,7 @@ .Nd display file status .Sh SYNOPSIS .Nm -.Op Fl FLnq +.Op Fl FHLnq .Op Fl f Ar format | Fl l | r | s | x .Op Fl t Ar timefmt .Op Ar @@ -124,6 +124,12 @@ The use of .Fl F implies .Fl l . +.It Fl H +Treat each argument as the hexadecimal representation of an NFS file handle, +and use +.Xr fhstat 2 +instead of +.Xr lstat 2 . .It Fl L Use .Xr stat 2 -- cgit v1.1