SUJ and "mount" reporting
Robert Watson
rwatson at FreeBSD.org
Tue Jun 1 16:34:44 UTC 2010
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
More information about the freebsd-current
mailing list