From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 27 21:58:27 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD69E1065672 for ; Wed, 27 Jan 2010 21:58:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id AEBD28FC1C for ; Wed, 27 Jan 2010 21:58:27 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 670AB46B2C; Wed, 27 Jan 2010 16:58:27 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 9A8998A01F; Wed, 27 Jan 2010 16:58:26 -0500 (EST) From: John Baldwin To: Kostik Belousov Date: Wed, 27 Jan 2010 16:55:26 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20100120; KDE/4.3.1; amd64; ; ) References: <1bd550a01001080919p20ec1b20t82b3761705cd1ff3@mail.gmail.com> <201001271610.33621.jhb@freebsd.org> <20100127214755.GK3877@deviant.kiev.zoral.com.ua> In-Reply-To: <20100127214755.GK3877@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201001271655.26703.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 27 Jan 2010 16:58:26 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-hackers@freebsd.org, Fernando Apestegu?a Subject: Re: [PATCH] linprocfs dofilesystems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2010 21:58:27 -0000 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