From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 16:34:44 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0F851065674; Tue, 1 Jun 2010 16:34:44 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6538FC1C; Tue, 1 Jun 2010 16:34:44 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 35DD646B06; Tue, 1 Jun 2010 12:34:44 -0400 (EDT) Date: Tue, 1 Jun 2010 17:34:44 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: John Baldwin In-Reply-To: <201006011125.00062.jhb@freebsd.org> Message-ID: References: <9EA890DC-CDCF-4E12-BB0E-063153400AB6@samsco.org> <201006011125.00062.jhb@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, Ivan Voras Subject: Re: SUJ and "mount" reporting X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 16:34:44 -0000 On Tue, 1 Jun 2010, John Baldwin wrote: >> MNT_* flags need to be deprecated, and the attributes passed in both >> directions as key-value pairs. I don't know if anyone else has thought >> about this and what it means for backwards compatibility. > > My understanding of nmount() is that that is what it does now. However, not > everything is fully updated for nmount(). struct nfsargs is still passed in > as a blob value with the key "nfsargs" for example. Presumably SUJ could be > reported the same way SU is done now. nmount is rather one-way -- we need an nstatfs (or similar) to extract statistics, paramaters, etc, from file systems in an extensible way that matches nmount. This would make it much easier to export any number of things, including NFS properties. Robert