diff options
author | thomas <thomas@FreeBSD.org> | 2014-05-07 19:22:54 +0000 |
---|---|---|
committer | thomas <thomas@FreeBSD.org> | 2014-05-07 19:22:54 +0000 |
commit | 939c7d3f2dc2df1015aca64ad6da3fa2b0cb77da (patch) | |
tree | a33cedebf41dae95e04622bee9dcdc3a96a7cdbc /usr.bin/stat/stat.1 | |
parent | c993fc87094127f61ec616caf951b3061d357467 (diff) | |
download | FreeBSD-src-939c7d3f2dc2df1015aca64ad6da3fa2b0cb77da.zip FreeBSD-src-939c7d3f2dc2df1015aca64ad6da3fa2b0cb77da.tar.gz |
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
Diffstat (limited to 'usr.bin/stat/stat.1')
-rw-r--r-- | usr.bin/stat/stat.1 | 8 |
1 files changed, 7 insertions, 1 deletions
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 |