diff options
author | pjd <pjd@FreeBSD.org> | 2010-03-16 23:19:55 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-03-16 23:19:55 +0000 |
commit | 2dfc25c8f6e619ae6f2fa6a28450a37450fea036 (patch) | |
tree | df27aa5e2cd616f76168ee9d0c078b10b69b9feb | |
parent | bd31c2114d0cea1dffaf1b3a492f7da38e6c1086 (diff) | |
download | FreeBSD-src-2dfc25c8f6e619ae6f2fa6a28450a37450fea036.zip FreeBSD-src-2dfc25c8f6e619ae6f2fa6a28450a37450fea036.tar.gz |
Better way to find out available file system types is to use lsvfs(1).
Using 'sysctl vfs' is not only ugly, but is also not reliable - not all
file system types create entries in vfs sysctl tree.
Reviewed by: imp
MFC after: 1 week
-rw-r--r-- | usr.bin/find/find.1 | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1 index dee5e04..4890d37 100644 --- a/usr.bin/find/find.1 +++ b/usr.bin/find/find.1 @@ -35,7 +35,7 @@ .\" @(#)find.1 8.7 (Berkeley) 5/9/95 .\" $FreeBSD$ .\" -.Dd February 24, 2008 +.Dd March 17, 2010 .Dt FIND 1 .Os .Sh NAME @@ -429,12 +429,9 @@ bits match those of True if the file is contained in a file system of type .Ar type . The -.Xr sysctl 8 +.Xr lsvfs 1 command can be used to find out the types of file systems -that are available on the system: -.Pp -.Dl "sysctl vfs" -.Pp +that are available on the system. In addition, there are two pseudo-types, .Dq Li local and @@ -947,6 +944,7 @@ section below for details. .Xr chmod 1 , .Xr cvs 1 , .Xr locate 1 , +.Xr lsvfs 1 , .Xr whereis 1 , .Xr which 1 , .Xr xargs 1 , |