[PATCH] linprocfs dofilesystems

John Baldwin jhb at freebsd.org
Wed Jan 27 21:58:27 UTC 2010


On Wednesday 27 January 2010 4:47:55 pm Kostik Belousov wrote:
> On Wed, Jan 27, 2010 at 04:10:33PM -0500, John Baldwin wrote:
> > I'm not aware of a portable way to obtain this information across all UNIX
> > variants.  For FreeBSD, there isn't a way for userland to obtain the list
> > of filesystems cleanly.  The patch looks good to me.  I'll probably commit it
> > after some testing it locally.
> 
> There is sysctl vfs.conflist. Cleanness of it can be argued.

Ahh, I had missed that because it wasn't in vfs_init.c with the other code
that uses the vfsconf list.

-- 
John Baldwin


More information about the freebsd-hackers mailing list