Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2010 09:10:13 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        freebsd-current@freebsd.org, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: SUJ and "mount" reporting
Message-ID:  <201006020910.13261.jhb@freebsd.org>
In-Reply-To: <20100602084748.GA68872@crodrigues.org>
References:  <alpine.BSF.2.00.1005171616390.1398@desktop> <201006011125.00062.jhb@freebsd.org> <20100602084748.GA68872@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 02 June 2010 4:47:48 am Craig Rodrigues wrote:
> On Tue, Jun 01, 2010 at 11:25:00AM -0400, John Baldwin wrote:
> > 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.
> 
> This is not true any more.  Doug Rabson and I modified
> src/usr.sbin/mount_nfs so that it passes individual string options
> via nmount() down to the kernel, which then parses the string options.
> 
> Doug added a fallback_mount() function which reverts to the
> old behavior of passing a blob with key "nfsargs" for older kernels.
> 
> The Berkeley amd is the next big NFS mount client which needs
> to be updated to use nmount().....but that code is messy. :)

It seems that the options are still not listed in 'mount' output however.  Is 
userland able to easily query the list of options that are set on a 
mountpoint?

-- 
John Baldwin



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