Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2010 17:34:44 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: SUJ and "mount" reporting
Message-ID:  <alpine.BSF.2.00.1006011733450.41126@fledge.watson.org>
In-Reply-To: <201006011125.00062.jhb@freebsd.org>
References:  <alpine.BSF.2.00.1005171616390.1398@desktop> <htvuap$f3j$1@dough.gmane.org> <9EA890DC-CDCF-4E12-BB0E-063153400AB6@samsco.org> <201006011125.00062.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1006011733450.41126>