Re: SUJ and "mount" reporting

From: Craig Rodrigues <rodrigc_at_crodrigues.org>
Date: Wed, 2 Jun 2010 01:47:48 -0700
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. :)

-- 
Craig Rodrigues
rodrigc_at_crodrigues.org
Received on Wed Jun 02 2010 - 06:47:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC