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
This commit is contained in:
Pawel Jakub Dawidek 2010-03-16 23:19:55 +00:00
parent 285738b6ad
commit d740b7c7e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205233

View File

@ -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 ,