svn commit: r205233 - head/usr.bin/find
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Mar 16 23:19:55 UTC 2010
Author: pjd
Date: Tue Mar 16 23:19:55 2010
New Revision: 205233
URL: http://svn.freebsd.org/changeset/base/205233
Log:
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
Modified:
head/usr.bin/find/find.1
Modified: head/usr.bin/find/find.1
==============================================================================
--- head/usr.bin/find/find.1 Tue Mar 16 22:28:07 2010 (r205232)
+++ head/usr.bin/find/find.1 Tue Mar 16 23:19:55 2010 (r205233)
@@ -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 ,
More information about the svn-src-head
mailing list